Re:JavaScript is Eating the World
by pier25 on Thursday August 24, 2017 @03:24PM
(#15093189)
Accessing the DOM is not really part of the language specification, but the browser API, no?
[ Parent
| on HN ]
Re:JavaScript is Eating the World
by thehardsphere on Thursday August 24, 2017 @04:16PM
(#15093677)
And the "Browser API" was invented to do what, exactly? And by what mechanism was said API exposed to developers? And whose cocktail napkin was the specification written on?
>And the "Browser API" was invented to do what, exactly?
Whatever it was inveted to do is totally irrelevant, as the "browser API" is not Javascript the language/syntax but just an API (library/module).
In fact you could trivially implement it in all kinds of programming languages.