javascript operator ":! 0" – what does that mean in this assignment statement?

Not an expert in javascript.

What does this ternary looking operator in this assignment mean?

var E,I,w={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0};
function p(e,t){
  var n="";
 for(var r in t)n+="".concat(r,": ").concat(t[r],"; ");
 e?e.setAttribute("style",n):d=n
}

var E,I,w={localhost:!0,"127.0.0.1":!0,"0.0.0.0":!0};
function O(e){
  var t=w[document.location.hostname];
  if(e)return new i.default({APIUrl:e,setCookie:!t});
  if(t){u.default.setIsLocal(t);
  var n=localStorage.getItem("myUrl");
  return n&&u.default.setSiteURL(n),null
}
return new i.default({setCookie:!t})

}

31 thoughts on “javascript operator ":! 0" – what does that mean in this assignment statement?”

  1. 126908 132778Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why waste your intelligence on just posting videos to your site when you could be giving us something informative to read? 726621

    Reply

Leave a Comment