Skip to content

"Stand in line" exercise under Basic JS has unclear directions or doesn't evaluate properly #7614

Closed
W8sconsin opened this Issue · 4 comments

3 participants

@W8sconsin
  1. queue([], 1) should return 1
  2. queue([2], 1) should return 2
  3. queue([5,6,7,8,9], 1) should return 5
  4. After queue(testArr, 10), myArr[4] should be 10

4 doesn't seem to relate to the task. Unclear directions in task. What is myArr? It comes out of the blue.

@raisedadead
Free Code Camp member

@W8sconsin thanks.

Yup There is a typo :
After queue(testArr, 10),myArr[4] should be 10
should be
After queue(testArr, 10),testArr[4] should be 10

Needs to be fixed here

Apart from that do you feel there is anything that is not clear in the challenge, please comment.

Thanks again.

@W8sconsin

That's more clear. Thanks for the help!

@drk7891

I have a fix coming

@raisedadead
Free Code Camp member

@drk7891 Thanks!

@SaintPeter SaintPeter closed this in #7615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.