Open rauschma opened 6 years ago
@da-moo Good point! That’ll be fixed in the next release.
I think its more illuminating to explain a do-while loop as a loop that always runs a block of code once, unlike a while loop, which might not run at all. Beginners might not get the point.
Wiki makes this point right out of the gate.
@kswope I’ve added a note that’ll be in the next release.
The exercise:
exercises/control-flow/month_to_number_test.js
seems to be reversed based on the writing. I was expecting to write a switch statement that takes a string of the month and outputs a number, however the test seems to be the reverse of that. Is this intended?