Back
You can use the below format, which will help to achieve what you want :
[].unshift.apply(arr1, arr2);
I hope this will help.
Want to become a Java Expert? Join Java Certification now!!
Want to know more about Java? Watch this video on Java Tutorial for Beginners | Java Programming :
30.9k questions
32.9k answers
500 comments
665 users