Skip to content

javascript

Overview of ES2015 features/syntax

rest client

Usual apis:

  • Fetch API
  • XMLHttpRequest
  • jQuery.ajax()

  • The fetch api is the newest

  • API is completely Promise-based
  • provides global fetch() method

promises, async and await

State:

  1. pending
  2. fullfilled
  3. rejected

arrow functions