Link Search Menu Expand Document

Javascript

Table of contents
  1. Jaascript basic
  2. ES6
  3. JS Reguar expression (regex)

Jaascript basic

See this documentation

ES6

ES5 is a kind of Javascript version to adjust with the standard browser behaviour. It was released in 2015, added many powerful new features to the language. In this course, you’ll learn these new features, including arrow functions, destructuring, classes, promises, and modules.

  • let
  • const
  • object.freeze
  • => function
  • => with parameters
  • Default parameters
  • (…args) rest parameter
  • Spread operator -> evaluate arrays in place
  • Destructuring assignment -> extract values from object
  • Destructuring assignment -> assign var from objects
  • Destructuring assignment -> assign var from nested objects
  • Destructuring assignment -> assign var from arrays
  • Destructuring assignments with rest parameter to reassign array elements
  • Destructuring assignments to pass an object as a function parameter
  • Template literal
  • Getters and setters
  • script type="module"
  • export to share codeblock
  • import
  • export default
  • Promise => (resolve, reject)
  • then
  • catch

JS Reguar expression (regex)

  • using .test