Closed screepinail closed 9 years ago
return function (zIndex) { if (+zIndex == +zIndex) { f.zIndex = +zIndex; } };
I'm curious about why did U write like that? Isn't the condition ‘if’ always be true?
Check what it will be for zIndex = undefined or "blah" or {}
undefined
"blah"
{}
I'm curious about why did U write like that? Isn't the condition ‘if’ always be true?