From 36684220837417ae323a5cea64dbfc619350dfa4 Mon Sep 17 00:00:00 2001 From: zelf0 <84274405+zelf0@users.noreply.github.com> Date: Mon, 21 Feb 2022 12:14:27 -0500 Subject: [PATCH] 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 --- .../basic-javascript/stand-in-line.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/stand-in-line.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/stand-in-line.md index 3829b37c6c..cd65b1cd1c 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/stand-in-line.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/basic-javascript/stand-in-line.md @@ -11,6 +11,8 @@ dashedName: stand-in-line In Computer Science a queue is an abstract Data Structure 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.