What are some of the changes that helped with that shift?
Tauseef Khan

My faves are:

  1. Having a native module system with import/export capabilities (no more IIFEs or UMD ceremony). Unfortunately Node JS still hasn’t caught up with this change properly (but it’s coming). I use Babel when working with Node.
  2. The introduction of `const` and `let` and their ability to preserve scope and in the case of `const` prevent re-assignment.
  3. The introduction of arrow functions (I loved them from my C# days)
  4. Native support for Promises