Hacker News new | past | comments | ask | show | jobs | submit login

Doesn’t the compiler optimise it away?



Those aren't the same types. One is a DOM array and the other is a JS array. They don't share the same constructor or the same prototype chain.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: