js中的包装类对象
<!DOCTYPE html
>
<html
>
<head
>
<meta charset
="UTF-8">
<title
>js中的包装类对象
</title
>
<script type
="text/javascript">
var num
= new Number(3);
var num2
= new Number(3);
var str
= new String("hello");
var str2
= new String("hello");
var bool
= new Boolean(true);
var bool2
= true;
</script
>
</head
>
<body
>
</body
>
</html
>
转载请注明原文地址: https://lol.8miu.com/read-16649.html