Is the Fetch API an ECMAscript feature?

前端 未结 3 2062
暗喜
暗喜 2020-12-30 02:39

I\'ve looked through the MDN resources here as well as here, as well as the WhatWg Fetch Spec, and for all that I can\'t figure out if the Fetch API is part

3条回答
  •  离开以前
    2020-12-30 03:18

    No. Most of the BOM (BrowserObjectModel) which is exposed by window object are part of WHATWG and W3C. example: navigator, ajax, fetch, etc.,

    The spec for Fetch is present https://fetch.spec.whatwg.org/

    If you want references in w3c look for Service Worker and search for the term http fetch

    ECMASCript features will be listed in ECMA spec https://www.ecma-international.org/ecma-262/7.0/index.html

    Note: BOM itself is an informal term

提交回复
热议问题