+ 4
To add a value at the end of an array.
var x = [1, 2, 3];
x.push(9);
//now x = [1, 2, 3, 9]
26th Aug 2018, 2:37 AM
Who Was I ?
Often have questions like this?
Learn more efficiently, for free:
Hot today
Mentors
1 Votes
About sololearn pro
1 Votes
Last semester project
0 Votes
I need an unity programmer
2 Votes
How to operate code on laptop
0 Votes



