js push multiple arguments

js push multiple arguments is method which is used to add multiple value into the array by passing it multiple. These values are seperated by comma speration. Multiple values can be more then two values. After the addition of multiple values into array, this method return new length value of array.

js push multiple arguments

on Jun 04, 2022
var a = [];
a.push(1, 2, 3);
console.log(a);

Add Comment

0

All the Possible answers are mentioned above. If you have query or suggestion then you can quete it also.

Javascript answers related to "js push multiple arguments"

View All Javascript queries

Javascript queries related to "js push multiple arguments"

Browse Other Code Languages

CodeProZone