Reports talk:Tasks not implemented in JavaScript

From Rosetta Code

Is Node.js Javascript ? Node.js is not same "Javascript" as in browser. It allows system API and C implementations. So, is Node.js counted in these tasks ?

JavaScript's ECMAScript standards specify only the core language. The DOM model of browsers is not part of the JS language, and figures nowhere in ECMAScript – the DOM is simply an API made available to JavaScript interpreters that are embedded in browsers.
JavaScript interpreters are, of course, also embedded in many non-browser contexts, and in each of those contexts relevant APIs are provided (exposed in the global context) for interaction with the rest of the context. Node.js is simply one instance of this general pattern of JavaScript interpreter + context-specific libraries. The JS part of Node.js is exactly the same as the JS part of browser contexts.
Some of the Rosetta tasks (for example those involving file access and other forms of IO) can not be performed within pure JS itself, they can only be done with one of the other context-specific APIs which are exposed to particular JS interpreter embeddings, and which clearly need to be identified in the preamble to each task solution.
Strictly speaking even console.log is not part of JavaScript itself, and perhaps we shouldn't really take it for granted – it isn't part of the language standard, and it isn't available to every embedding of an ECMAScript-compliant JS interpreter. Hout (talk) 21:51, 8 April 2020 (UTC)