3 ms·
I noticed that too, and thought the very same thing. At the same time you had stand-alone code-samples which were of dubious quality at best: if (document
by josteink 6y ago
I noticed that too, and thought the very same thing.
At the same time you had stand-alone code-samples which were of dubious quality at best:
if (document.someBoolean) {
setEnabled(true);
} else {
setEnabled(false);
}
I mean... Really? :)
So yeah. Coupled with lots of Chrome-only APIs, I wouldn't consider this a very high quality article.
- ConcernedCoder 6y agolol... yes, that's SMH level stuff... how about: setEnabled( Boolean( document.someBoolean ) )