Skip to main content
added 10 characters in body
Source Link
isherwood
  • 61.4k
  • 16
  • 122
  • 173

ECMAScript 6 introduced the let statementdeclaration keyword.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let declaration keyword.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

"var" is a keyword
Source Link
U. Windl
  • 4.7k
  • 39
  • 65

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the varvar keyword.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

OP's understanding is relevant information for answering the questino.
Source Link
TylerH
  • 21.3k
  • 84
  • 84
  • 121

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let statement.

What are the differences? When should let be used instead of var?

ECMAScript 6 introduced the let statement.

I've heard that it's described as a local variable, but I'm still not quite sure how it behaves differently than the var keyword.

What are the differences? When should let be used instead of var?

Format (remove unnecessary heading). Shorten (remove personal interpretation).
Source Link
Mateen Ulhaq
  • 27.8k
  • 21
  • 121
  • 155
Loading
deleted 1 character in body
Source Link
xav
  • 5.6k
  • 7
  • 53
  • 59
Loading
Rollback to Revision 14
Source Link
TylerH
  • 21.3k
  • 84
  • 84
  • 121
Loading
deleted 2 characters in body
Source Link
David Klempfner
  • 10.2k
  • 25
  • 94
  • 192
Loading
improve formatting
Source Link
Akash Kumar Verma
  • 3.4k
  • 2
  • 19
  • 33
Loading
added 6 characters in body
Source Link
John Smith
  • 7.4k
  • 7
  • 52
  • 63
Loading
improve formatting
Source Link
Akash Kumar Verma
  • 3.4k
  • 2
  • 19
  • 33
Loading
Improving question title and question formatting itself.
Source Link
ivanleoncz
  • 10.3k
  • 7
  • 62
  • 53
Loading
disambiguating title from Swift
Link
Cœur
  • 39k
  • 25
  • 207
  • 282
Loading
Post Merged (destination) from stackoverflow.com/questions/40775469/…
Post Reopened by Rob, Robert Harvey
Post Closed as "Duplicate" by Michał Perłakowski javascript
edited tags
Source Link
Michał Perłakowski
  • 93.3k
  • 30
  • 165
  • 189
Loading
Made title into a question in a consistent format with other top questions
Link
Steve Chambers
  • 39.8k
  • 29
  • 178
  • 222
Loading
Question Protected by Josh Crozier
Previous edit made it clunkier, I think
Source Link
TM.
  • 111.6k
  • 34
  • 125
  • 129
Loading
fix miscapitalizations
Source Link
Mark Amery
  • 158.2k
  • 93
  • 435
  • 476
Loading
Rollback to Revision 1
Source Link
Bergi
  • 670.5k
  • 162
  • 1k
  • 1.5k
Loading
javascript 1.7 is a Mozilla only denomination, the real name of the next javasccript standart is ecmascript 6
Source Link
Loading
Source Link
TM.
  • 111.6k
  • 34
  • 125
  • 129
Loading