loading...

Discussion on: ES6 Mini Crash Course: How to Write Modern JavaScript

Collapse
dubst3pp4 profile image
Marc Hanisch

Great article except the usage of var. I would not discourage it, as let is limited to the scope of braces whereas var is limited to the scope of the current this (function) context. Both have strengths.