摘要: alert()是window对象的方法,并没有在javascript。所以在node.js中运行js文件时会出现alert没有定义。 此时应该使用console.log(). 阅读全文
posted @ 2017-09-21 13:49 jugglee 阅读(373) 评论(0) 推荐(0)