Javascript -- Getting Started
ECMAScript standard
- ECMAScript 5 (EC5) came out in 2009
- ECMAScript 6 (EC6) came out in 2015. Meanwhile, the committee decided to use year to version the standard, so EC6 is also called EC2015.
- ES2016 aka ES7
- ES2017 aka ES8
- string padding
- Trailing commas
Object.values()
async/await
- ES2018 aka ES9
Promise.prototype.finally
- ES2019 aka ES10
- ES2020 aka ES11
- nullary coalescing operator:
value ?? some default
- Optional Chaining:
book.entities?.hashtags
- nullary coalescing operator:
ES modules
Good article: https://hacks.mozilla.org/2018/03/es-modules-a-cartoon-deep-dive/
esbuild
Hot Module Replacement (HMR)
HMR is different from live reload.
This post is licensed under CC BY 4.0 by the author.