Implement feedback

This commit is contained in:
Charles-Axel Dein 2020-07-21 12:16:54 +02:00
parent 14bda3cae3
commit 3ec6c65586
1 changed files with 8 additions and 2 deletions

View File

@ -31,6 +31,8 @@
- [Chaining promises](#chaining-promises)
- [Async functions](#async-functions)
- [Modules](#modules)
- [Other features](#other-features)
- [Optional chaining](#optional-chaining)
- [References](#references)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
@ -164,8 +166,8 @@ const constantVar = "a";
// Raises "constantVar" is read-only
constantVar = "b";
let mutableVar = "a";
mutableVar = "a";
let theVar = "a";
theVar = "a";
// Note: this will work ok
const constantObject = { a: 1 };
@ -278,6 +280,10 @@ ES Module syntax:
- default export and imports
- renaming imports
## Other features
### Optional chaining
## References
- [ES5 to ESNextheres every feature added to JavaScript since 2015](https://www.freecodecamp.org/news/es5-to-esnext-heres-every-feature-added-to-javascript-since-2015-d0c255e13c6e/)