let vs var

var has large scope

var function-scoped

ES6 ES2015 let, const block-scoped

Reply to this note

Please Login to reply.

Discussion

No replies yet.