JS之typeof
来源:互联网 发布:java socket.flush 编辑:程序博客网 时间:2024/06/07 01:48
<!DOCTYPE html><html><head><meta charset="utf-8"><title>title</title></head><body> <script type="text/javascript">var number = 123;var string = "string";var object = new Object();var fun = function(x){return x*x};var date = new Date();var pattern = /[a]t/g;var bool = true;var Bool = new Boolean(true);var undifined;var nullvalue = null;var array = [1, 2, "3"];alert(typeof(number) + ":number");alert(typeof(string) + ":string");alert(typeof(object) + ":object");alert(typeof(fun) + ":function");alert(typeof(date) + ":object");alert(typeof(pattern) + ":object");alert(typeof(Bool) + ":object");alert(typeof(bool) + ":boolean");alert(typeof(undifined) + ":undifined");alert(typeof(nullvalue) + ":object");alert(typeof(array) + ":object");</script></body></html>
0 0
- JS之typeof
- js之【typeof和instanceof的区别】
- js之typeof与instanceof 小解
- js:typeof
- js typeof
- js typeof
- JS typeof()
- js typeof
- js基础2-深入理解javascript之typeof和instanceof
- js中的typeof作用
- js typeof,instanceof用法
- js typeof的使用
- js中typeof
- js中typeOf用法
- javascript js typeof用法
- js typeof用法
- js的typeof用法
- js中typeOf用法
- Java并发编程之ConcurrentHashMap
- tab切换导航内容制作
- vim 剪切(d) 复制(y=yank)
- Android UiAutomator环境配置
- mysql 设置字符集为utf8
- JS之typeof
- 通过.htaccess 对网站图片的基本防盗处理
- Hibernate Session
- javascript中使用JSON
- 【术】Unity中c#的foreach产生GC的原因分析
- TCP/IP(6)-UDP协议
- ecshop其他页面判断是智能手机访问也跳转到ECTouch对应手机版页面[有修正]
- 【Javascript】计时器setInterval()
- 解决python进程池中无法使用multiprocessing.Queue