4 ms·
The market was written without break statements. switch(news) { case 'price goes up': theskyisfalling(); case 'price goes down': thegroun
by saraid216 12y ago
The market was written without break statements.
switch(news) {
case 'price goes up':
theskyisfalling();
case 'price goes down':
thegroundisrising();
case 'price stays the same':
quicklookoverthere();
default:
celebrate();
}