Implement feedback
This commit is contained in:
parent
14bda3cae3
commit
3ec6c65586
@ -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 ESNext — here’s every feature added to JavaScript since 2015](https://www.freecodecamp.org/news/es5-to-esnext-heres-every-feature-added-to-javascript-since-2015-d0c255e13c6e/)
|
||||
|
Loading…
Reference in New Issue
Block a user