by anon525 · 13y ago · 0 comments
input:
var myQueue = []; myQueue.push(1); myQueue.push(2); myQueue.push(3); console.log(myQueue.unshift()); console.log(myQueue.unshift()); console.log(myQueue.unshift());
3 3 3