Array.push
<html> <head> <title>Array literal</title> <script type="text/javascript" > var planets = ['m', 'v', 'a']; planets.push('m', 'j'); document.write(planets); </script> </head> <body> </body> </html>