+ 3
Why no one uses 'const' and 'let' in JavaScript? Should I use it ?
I mean it's been quite a long since they were introduced most browsers would support them but I rarely see anyone , website using it . Should I use it or traditional var is fine
3 Answers
+ 4
const and let are only work on browsers that supported ES6.
There are still many SLers phone browsers are not supported ES6. My ES6 codes were reported not working by many users, I have to use BabelJS to convert it if I write my codes in ES6.
+ 1
I am not so familiar with js, but i think you should. Const and let are much better than just var.