I’m writing an article on JavaScript and a question came up.
JavaScript has Web APIs as its standard specification for the browser.
There’s no standard specification for JavaScript's backend (Node and Deno) APIs?
I’m writing an article on JavaScript and a question came up.
JavaScript has Web APIs as its standard specification for the browser.
There’s no standard specification for JavaScript's backend (Node and Deno) APIs?
JavaScript does not have Web APIs. Web browsers have JavaScript Web APIs.
From JavaScript - Wikipedia:
Web browsers have APIs for the web exposed via JavaScript. JavaScript does not have Web APIs, or any I/O itself. Node.js and Deno, like a web browser, expose various JavaScript APIs to developers to build upon for their use cases. Many of these APIs are the same Web APIs that web browsers implement while some are not.
Node.js and Deno implement some of the same Web APIs but also have various APIs specific to their platforms.
Correct. There is not currently. At least not one that Node.js and Deno adhere to.