function F() {
w = !0;
return !1
}
Is this a special way of setting a boolean variable? Why did the author do this?
Edit: Context:
document.onmousedown = F;
This is an example of unnecessary prowess. The code below is exactly the same:
function F() {
w = true; //w = !0;
return false //return !1
}
If you are using a good minification tool, which you should in production, clever programming to save a few bytes becomes unnecessary.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments