0
What is push in Java script
Please help me because I am a learner
1 Respuesta
+ 5
Prince Kumar Shaw ,
push() is quite similar to append() in python...
As it will add the element at the end of the list...
Here a sample code for implementation of push(),
var course=["Python","C","C++","Java"];
course.push("c#");
console.log(course);
Here I pushed " c# " into the course and it will get added at last...