Codington
0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Add to the Start

.unshift(value) adds a value to the beginning of an array.

Example

const queue = ["B", "C"]; queue.unshift("A");

Your task

Add start before the existing stages and display Stages: start,middle,end.