hakanols / tweetnacl-es6

Port of TweetNaCl cryptographic library to JavaScript
https://tweetnacl.js.org
The Unlicense
3 stars 2 forks source link

Change var to let and const #2

Open hakanols opened 4 years ago

hakanols commented 4 years ago

Const and let is preferred to the global var in js. On the other side it is an idea to try to not deviate to much from the code in https://github.com/dchest/tweetnacl-js