[JS] Array method to append another array in-place

/cc @mathias