新建
上传
首页
助手
最?/div>
资料?/div>
工具

1.

 

javascript

?/p>

typeof

返回哪些数据类型

 

 

 

 

alert(typeof [1, 2]);  

//object

 

alert(typeof 'leipeng');  

//string

 

    var i = true; 

 

    

alert (

typeof i);  //boolean

 

    alert(typeof 1);  

//number

 

    var a; 

 

    alert(typeof a);  

//undefined

 

    function a(){;};

 

    alert(typeof a)  

//function

 

Ͼλ
新建
上传
首页
助手
最?/div>
资料?/div>
工具

1.

 

javascript

?/p>

typeof

返回哪些数据类型

 

 

 

 

alert(typeof [1, 2]);  

//object

 

alert(typeof 'leipeng');  

//string

 

    var i = true; 

 

    

alert (

typeof i);  //boolean

 

    alert(typeof 1);  

//number

 

    var a; 

 

    alert(typeof a);  

//undefined

 

    function a(){;};

 

    alert(typeof a)  

//function

 

">
新建
上传
首页
助手
最?/div>
资料?/div>
工具

1.

 

javascript

?/p>

typeof

返回哪些数据类型

 

 

 

 

alert(typeof [1, 2]);  

//object

 

alert(typeof 'leipeng');  

//string

 

    var i = true; 

 

    

alert (

typeof i);  //boolean

 

    alert(typeof 1);  

//number

 

    var a; 

 

    alert(typeof a);  

//undefined

 

    function a(){;};

 

    alert(typeof a)  

//function

 

Ͼλ">
Ͼλ
Ŀ

JS基础文档wt - 百度文库
新建
上传
首页
助手
最?/div>
资料?/div>
工具

1.

 

javascript

?/p>

typeof

返回哪些数据类型

 

 

 

 

alert(typeof [1, 2]);  

//object

 

alert(typeof 'leipeng');  

//string

 

    var i = true; 

 

    

alert (

typeof i);  //boolean

 

    alert(typeof 1);  

//number

 

    var a; 

 

    alert(typeof a);  

//undefined

 

    function a(){;};

 

    alert(typeof a)  

//function

 



ļ׺.doc޸Ϊ.docĶ

  • 칫ҹӡƤЬʹҵ
  • ѧѵ
  • 20191³ĩ⼰
  • Сѧѧýѧѧʵۺ۵о-Ʒĵ
  • ѧɼϵͳ
  • Сѧġѧijתо
  • ൺиһģ⿼Ը⼰(ൺһģ)
  • ͳĩ⼰
  • йϷι˾ֳҵΥ¿۷ֹ취У - ͼ
  • LK㷨

վ

԰ Ͼλ
ϵͷ779662525#qq.com(#滻Ϊ@)