Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't think it's a good solution because it performs the operation manually instead of calling the built-in Math.hypot method. This is the point - "apply" is a widely used technique, at least it used to be on pre-ES6 times.


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

Search: