我是javascript的初学者,这是我的第一行我正在学习一篇教程,我相信我也是这样做的,但即使我有这个标志错误,我也看到了同样的问题,但仍然不理解问题的原因。

我的代码
alert("hello");错误
index.js:1 Uncaught TypeError: alert is not a function
at index.js:1
(anonymous) @ index.js:1https://stackoverflow.com/questions/67533283
复制相似问题