老师帮我看看有没有错误。谢谢。

来源: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 = nullb = 10c = '我是字符串'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回答

好帮手慕言

2021-07-31

同学你好,代码是对的,继续加油,祝学习愉快~

0

0 学习 · 15276 问题

查看课程