SyntaxFix
Write A Post
Hire A Developer
Questions
Use unshift, which modifies the existing array by adding the arguments to the beginning:
unshift
TheArray.unshift(TheNewObject);