Re:JavaScript is Eating the World
by coldtea on Thursday August 24, 2017 @05:21PM
(#15094164)
There's nothing about JS as a language meant specifically to "programatically manipulate the DOM in the browser".
Anything it does related to that is just simple library code and methods on the "document", "element", etc objects -- and that's only when run in the browser where those are available (automatically "imported" let's say). Node doesn't even have the "document" object.
Anything it does related to that is just simple library code and methods on the "document", "element", etc objects -- and that's only when run in the browser where those are available (automatically "imported" let's say). Node doesn't even have the "document" object.