From 88d51cd380b31793501442bdac3552f15c90f5df Mon Sep 17 00:00:00 2001 From: btea <2356281422@qq.com> Date: Wed, 1 Dec 2021 14:20:47 +0800 Subject: [PATCH] fix: typo --- snapshot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snapshot.js b/snapshot.js index 2e47061a..2a1dac74 100644 --- a/snapshot.js +++ b/snapshot.js @@ -42,7 +42,7 @@ function fullCombination(arr) { // [0, 0, 0, 0, 1] = 0b0001 // [1, 1, 1, 1, 1] = 0b1111 - // Note we need to exclude the empty comination in our case + // Note we need to exclude the empty combination in our case for (let i = 1; i < 1 << arr.length; i++) { const combination = [] for (let j = 0; j < arr.length; j++) {