4 ms·
Because the built-in .length property is frequently used, and will fail if misspelled. Whereas C and C++ programs tend to have a lenght operator implemented by
by sjwright 15y ago
Because the built-in .length property is frequently used, and will fail if misspelled.
Whereas C and C++ programs tend to have a lenght operator implemented by the programmer, and from there the error gets snowballed by IDEs and debuggers.