主流浏览器
浏览器 | 内核 |
---|---|
IE | trident |
chrome | webkit/blink |
opera | presto |
safari | webkit |
js的引入
页面内嵌<script></script>
外部引入<script src="location"></script>
原始值
Number string Bool undifined null
引用值
arry object function date RegExp
任何数据类型加字符串都为字符串
浏览器 | 内核 |
---|---|
IE | trident |
chrome | webkit/blink |
opera | presto |
safari | webkit |
页面内嵌<script></script>
外部引入<script src="location"></script>
Number string Bool undifined null
arry object function date RegExp
任何数据类型加字符串都为字符串