xxxxxxxxxx
<!DOCTYPE html>
<html>
<title>JavaScript typeof null和typeof undefined示例 - 基础教程(div.cn)</title>
<body>
<p> null和undefined等于<b>值</b••>,但<b>类型不同</b>:</p>
<script>
document.write(typeof null + "<br>" + typeof undefined);
</script>
</body>
</html>