obudowa przełącznika JS
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
}
Grotesque Grebe
switch(expression) {
case x:
// code block
break;
case y:
// code block
break;
default:
// code block
}
var affectedDiscs = [];
var columnIterator = column;
while ( columnIterator < 8)
{
columnIterator += 1;
var valueAtspot = disc[row][ columnIterator]