array unshift

Home   »   array unshift

var friendsAge = [15, 17, 20, 34, 50]
friendsAge.unshift(10,12,13)
console.log(friendsAge);

Leave a Reply

Your email address will not be published. Required fields are marked *