FACG4 / w6_Stop_Go_Cont

http://stop-go-cont.herokuapp.com
0 stars 0 forks source link

const Vs. var #68

Open NouraldinS opened 6 years ago

NouraldinS commented 6 years ago

https://github.com/FACG4/w6_Stop_Go_Cont/blob/3cf9b4008ca7f119d676bbcf6cd25768b172b865/src/hash.js#L1

Are you changing the value of bcrypt later? I think not, I haven't seen you changing it. Make it a const and spare your user some resources.