4 ms·
Does anyone know if it really needs the !!obj&& at the start? Isn't that redundant with checking that the type is either "object" or "function"? And is there
by ufo 7y ago
Does anyone know if it really needs the !!obj&& at the start?
Isn't that redundant with checking that the type is either "object" or "function"?
And is there a reason to use '!!' inside a conditional? Wouldn't obj&& do basically the same thing?