Variable block-level scope ES6

1.let name // can not be repeated declarations, variable block-level scope, it can be modified.

 

2.const name // can not be repeated statement, steady, fast-level scope can not be modified.

Guess you like

Origin www.cnblogs.com/shangmao/p/11586788.html