老师帮我看看有没有错误。谢谢。
来源:2-17 编程练习
慕斯卡2474635
2021-07-30 18:35:47
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>数据类型之NaN</title>
</head>
<body>
<script>
//补充代码
var a = null, b = 10; c = '我是字符串', d = '10' ,e = undefined;
console.log(isNaN(a));
console.log(isNaN(b));
console.log(isNaN(c));
console.log(isNaN(d));
console.log(isNaN(e));
</script>
</body>
</html>
1回答
同学你好,代码是对的,继续加油,祝学习愉快~
相似问题