0

Чем отличается ванильный JavaScript от нативного JavaScript?

Вроде это шутка про ванильный JS, он по идеи тоже без примесей, родной. Но есть фреймворк Vanilla JS, или этот фреймворк не имеет отношение в ванильному JS?

17th Feb 2020, 10:43 AM
Anna/Аня
Anna/Аня - avatar
2 ответов
+ 2
As you know, JS is a programming language. Which means, by default, there is no document, no window, there is nothing. It can be used just like python or any other programming language, to run simple scripts, that have nothing to do with the web. VanillaJS is used to run browser related stuff, like document... and it is the most commonly used framework. So yes, technically VanillaJS is a framework, just like NodeJS ane ElectronJS are frameworks.
17th Feb 2020, 11:14 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 2
thanks
17th Feb 2020, 11:16 AM
Anna/Аня
Anna/Аня - avatar