]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: typo in comment (#14)
authorbtea <2356281422@qq.com>
Wed, 1 Dec 2021 11:54:51 +0000 (05:54 -0600)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 11:54:51 +0000 (19:54 +0800)
snapshot.js

index 2e47061ab93d8babfe1c147327e1acae64ad2177..2a1dac7451c637813c9ede0e9a1732213c09eb87 100644 (file)
@@ -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++) {