SyntaxFix
Write A Post
Hire A Developer
Questions
For an uglier version of unshift use splice:
unshift
splice
TheArray.splice(0, 0, TheNewObject);