MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/jic377/javascript_string/ga8wwq2/?context=3
r/learnjavascript • u/tutorialstonight • Oct 26 '20
javascript string 🔥
https://www.tutorialstonight.com/js/js-string.php
31 comments sorted by
View all comments
47
You should really avoid using 'var' to declare your variables.
1 u/ekim43 Oct 27 '20 Note: If you aren’t using something like babel, there are compatibility issues with some older browsers. I had a client with an older iPad (safari) and and ofc, the dreaded IE, where JS wouldn’t work because I was using let/const.
1
Note: If you aren’t using something like babel, there are compatibility issues with some older browsers. I had a client with an older iPad (safari) and and ofc, the dreaded IE, where JS wouldn’t work because I was using let/const.
47
u/MrMimmet Oct 26 '20
You should really avoid using 'var' to declare your variables.