fix: add divider to stand in line challenge in basic javascript section (#45180)

* Fix: Update grammar in PR documnetation

* fix: add divider to stand in line challenge in basic javascript section

* Undo change outside of scope
This commit is contained in:
zelf0
2022-02-21 12:14:27 -05:00
committed by GitHub
parent 98c516c010
commit 3668422083

View File

@ -11,6 +11,8 @@ dashedName: stand-in-line
In Computer Science a <dfn>queue</dfn> is an abstract <dfn>Data Structure</dfn> where items are kept in order. New items can be added at the back of the queue and old items are taken off from the front of the queue.
# --instructions--
Write a function `nextInLine` which takes an array (`arr`) and a number (`item`) as arguments.
Add the number to the end of the array, then remove the first element of the array.