So, what’s in it? These google slides do a pretty good job at introducing the changes, but I’ll try to do a warp-speed summary here:
- A new ‘strict mode’ to ease robust and defensive programming. You can look up the details in the slides, but a single feature would have been worth it for me back in my litl days: failed assignments throw an exception in strict mode.
- Higher order array methods: map, every, some, filter, reduce… all are there.
- Built-in JSON implementation.
- getter/setter properties, plus syntax for fine grained control of properties access.