首页 > 编程语言 > 详细

JavaScript对象

时间:2019-03-07 21:40:54      阅读:140      评论:0      收藏:0      [点我收藏+]

 

JavaScript RegExp \W 元字符

http://www.runoob.com/jsref/jsref-regexp-wordchar-non.html

 

 

JavaScript 字符串(String) 对象

http://www.runoob.com/js/js-obj-string.html

 

 

 

JavaScript String 对象

http://www.runoob.com/jsref/jsref-obj-string.html

 

 

 

JavaScript 对象

http://www.runoob.com/js/js-objects.html

 

 

 

var a = [];
undefined
a
[]
var b = new Boolean(a);
undefined
b
Boolean {true}__proto__: Boolean[[PrimitiveValue]]: true
!!b
true
if(a){console.log(1)}
VM64:1 1
undefined
if(!!null){}
undefined
if(!!null){console.log(1)}else{console.log(2)}
VM96:1 2
undefined
if(!!undefined){console.log(1)}else{console.log(2)}
VM115:1 2
undefined
if(!!a){console.log(1)}else{console.log(2)}
VM138:1 1
undefined
a
[]

 

JavaScript对象

原文:https://www.cnblogs.com/whoknows1/p/10492221.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!