2 ms·
Accessing the DOM is not really part of the language specification, but the browser API, no?
by pier25 9y ago
Accessing the DOM is not really part of the language specification, but the browser API, no?
- thehardsphere 9y agoAnd 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?
- coldtea 9y ago>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.