why use the "!!!"?

Posted by lazyanno on Stack Overflow See other posts from Stack Overflow or by lazyanno
Published on 2010-06-11T04:15:42Z Indexed on 2010/06/11 4:22 UTC
Read the original article Hit count: 169

as follow codes:

var a = {};
if(!!!a[tabType]){
   a[tabType] = [];
   a[tabType].push([self,boxObj]);
}else{
   a[tabType].push([self,boxObj]);
}

i think !!!a[tabType] equals !a[tabType] why use the "!!!" not "!" ?

thank you!

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about Performance