Reports talk:Tasks not implemented in JavaScript: Difference between revisions

m
(even `console.log` is not part of JavaScript itself)
(The DOM model of browsers is '''not''' part of the JS language, and figures nowhere in ECMAScript)
m ((even `console.log` is not part of JavaScript itself))
Line 7:
: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 specifiedidentified forin the preamble to each task solution. [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 21:51, 8 April 2020 (UTC)
 
:Strictly speaking even `console.log` is not part of JavaScript itself, and we perhaps we shouldn't really take it for granted, it isn't part of the language standard, and isn't always available.[[User:Hout|Hout]] ([[User talk:Hout|talk]]) 21:51, 8 April 2020 (UTC)
9,655

edits