I have one simple question, that got stuck in my mind for a few days: What is VanillaJS?
(我有一个简单的问题,在我的脑海里停留了几天:什么是VanillaJS?)
Some people refer to it as a framework, you can download a library from the official pages. (有些人将其称为框架,您可以从官方页面下载库。)
But when I check some examples or TodoMVC, they just use classic raw JavaScript functions without even including the library from the official pages or anything.
(但是,当我查看一些示例或TodoMVC时,他们只使用经典的原始JavaScript函数,甚至不包括官方页面中的库或任何东西。)
Also the link "Docs" on the official webpage leads to the Mozilla specification of JavaScript. (此外,官方网页上的“文档”链接也会导致JavaScript的Mozilla规范。)
My question is: Is VanillaJS raw JavaScript?
(我的问题是:VanillaJS是原始JavaScript吗?)
And if yes, why people refer to it as "framework" when all you need is a browser without any special included scripts? (如果是的话,当你需要的是没有任何特殊包含脚本的浏览器时,为什么人们将它称为“框架”?)
I am sorry for a probably stupid question but I have no idea what people are talking about when they say "VanillaJS".
(对于一个可能很愚蠢的问题我很抱歉,但当他们说“VanillaJS”时我不知道人们在谈论什么。)
ask by user1377911 translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…