The difference between VAR and LET in JavaScript

preview_player
Показать описание
The difference between VAR and LET in JavaScript
#javascript #webdev #robray
Рекомендации по теме
Комментарии
Автор

The best and shortest explanation. Wow, thanks

ericrichard
Автор

This is the easiest and simplest way it’s been explained. Good stuff bro

viewsbyblur
Автор

let two = 2 & you’re returning 1

Kinda confused me at first :) typo or am I confused?

eyerusalemk
Автор

cool!!! all I knew was it was "global" and heard it was unsafe but had no idea this would happen...c thank you sir! how do you update the value so quickly in the editor?

v.