logo
logo

Add Element

Add Element

Given an array 'a', add the string 'new element' to the end of the array using the push() method and log the resulting array to the console.

Console
Submit
Solution
00:00