Skip to main content

How to push string in an array in Javascript

You can use push() method on array to push the specific value in Javascript. By using push method you can insert any value at the end of the array.