You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
249 B

let id = 0;
for( let one = 0; one < 4; one++){
for( let two = 0; two < 4; two++){
for( let three = 0; three < 4; three++){
for( let four = 0; four < 4; four++){
console.log(`${id}: ${one} ${two} ${three} ${four}`);
id++;
}
}
}
}