garageScript / curriculum

GarageScript Curriculum
21 stars 163 forks source link

Update js1/3.js to test for negative numbers #382

Closed chriscodes17 closed 2 years ago

chriscodes17 commented 2 years ago

A student submitted an answer for 1/3.JS where if the inputed number was negative the answer would result in a max call stack, so this issue adds a new test that will test using a negative number.

SlyBouhafs commented 2 years ago

Closes #383