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

Array.prototype.push.apply(a, b) modifies a in-place; a.concat(b) returns a copy of a with b appended to it.


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

Search: