var name = [ "john" ]; name.unshift( "charlie" ); name.unshift( "joseph", "Jane" ); console.log(name); //Output will be [" joseph "," Jane ", " charlie ", " john "]