commit e6e1843165567bbaa7d5c78862e20054cd154637 Author: Matthew Huntington Date: Tue Apr 18 16:54:43 2023 -0400 permutations diff --git a/beats.js b/beats.js new file mode 100644 index 0000000..09ea21d --- /dev/null +++ b/beats.js @@ -0,0 +1,13 @@ +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++){ + for( let five = 0; five < 4; five++){ + for( let six = 0; six < 4; six++){ + console.log(`${one} ${two} ${three} ${four} ${five} ${six}`); + } + } + } + } + } +}