- 页面弹出框:alert("hello");
- 控制台输出:
console.log("hello"); console.warn("hello"); console.error("hello");
- 光标定在输入框:prompt("hello");
- 用于逻辑判断:confirm("hello");
JS中常用的输出方式
猜你喜欢
转载自blog.csdn.net/qzcrystal/article/details/83152807
今日推荐
周排行