Implement feedback
This commit is contained in:
parent
14bda3cae3
commit
3ec6c65586
@ -31,6 +31,8 @@
|
|||||||
- [Chaining promises](#chaining-promises)
|
- [Chaining promises](#chaining-promises)
|
||||||
- [Async functions](#async-functions)
|
- [Async functions](#async-functions)
|
||||||
- [Modules](#modules)
|
- [Modules](#modules)
|
||||||
|
- [Other features](#other-features)
|
||||||
|
- [Optional chaining](#optional-chaining)
|
||||||
- [References](#references)
|
- [References](#references)
|
||||||
|
|
||||||
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
||||||
@ -164,8 +166,8 @@ const constantVar = "a";
|
|||||||
// Raises "constantVar" is read-only
|
// Raises "constantVar" is read-only
|
||||||
constantVar = "b";
|
constantVar = "b";
|
||||||
|
|
||||||
let mutableVar = "a";
|
let theVar = "a";
|
||||||
mutableVar = "a";
|
theVar = "a";
|
||||||
|
|
||||||
// Note: this will work ok
|
// Note: this will work ok
|
||||||
const constantObject = { a: 1 };
|
const constantObject = { a: 1 };
|
||||||
@ -278,6 +280,10 @@ ES Module syntax:
|
|||||||
- default export and imports
|
- default export and imports
|
||||||
- renaming imports
|
- renaming imports
|
||||||
|
|
||||||
|
## Other features
|
||||||
|
|
||||||
|
### Optional chaining
|
||||||
|
|
||||||
## References
|
## 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/)
|
- [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…
x
Reference in New Issue
Block a user