3 ms·
I think the Array.includes makes the language better as it standardizes how to check for array membership. I've encountered more than one bug as a result of the
by dandersh 10y ago
I think the Array.includes makes the language better as it standardizes how to check for array membership. I've encountered more than one bug as a result of the "!== -1" check not working correctly/as expected.