learnxinyminutes-docs
learnxinyminutes-docs copied to clipboard
[javascript/fr] Add new js features
- [x] I solemnly swear that this is all original content of which I am the original author
- [x] Pull request title is prepended with
[language/lang-code]
(example[python/fr-fr]
or[java/en]
) - [x] Pull request touches only one file (or a set of logically related files with similar changes made)
- [ ] Content changes are aimed at intermediate to experienced programmers (this is a poor format for explaining fundamental programming concepts)
- [ ] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to CONTRIBUTING.md
- [ ] Yes, I have double-checked quotes and field names!
Introduce more js features. #1253
Add :
- Regex
- Ternary conditional operator
- Error handling try ... catch
- Rest parameter (ES6)
- Promise (ES6)
- Async / Await (ES2017)
- Optional chaining operator (ES2020)
- Another syntax for import
Remove :
- Duplicate spread operator (ES6)