One ES2015 code sample a day. All samples can be run with NodeJS v5.1+ and Babel with the ES2015 preset (ES2015 Compatibility Matrix).
ECMAScript 2015 Language reference
- arrows
- classes
- enhanced object initializers
- template strings
- destructuring
- default + rest + spread
- let + const
- iterators + for..of
- generators
- unicode
- modules
- module loaders
- map + set + weakmap + weakset
- proxies
- symbols
- subclassable built-ins
- promises
- math + number + string + array + object APIs
- binary and octal literals
- reflect api
- tail calls
- mixins