learnxinyminutes-docs icon indicating copy to clipboard operation
learnxinyminutes-docs copied to clipboard

[javascript/fr] Add new js features

Open Th3G33k opened this issue 10 months ago • 0 comments

  • [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)

Th3G33k avatar Apr 20 '24 10:04 Th3G33k