| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8da3b51 commit dabdb2d
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -106,6 +106,8 @@ function runUsingArgumentsAndApply(n, concat) { | |||
| 106 | 106 | function main(conf) { | |
| 107 | 107 | const n = +conf.n; | |
| 108 | 108 | switch (conf.method) { | |
| 109 | + // '' is a default case for tests | ||
| 110 | + case '': | ||
| 109 | 111 | case 'restAndSpread': | |
| 110 | 112 | runUsingRestAndSpread(n, conf.concat); | |
| 111 | 113 | break; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,6 +63,8 @@ function main(conf) { | |||
| 63 | 63 | const n = +conf.millions * 1e6; | |
| 64 | 64 | ||
| 65 | 65 | switch (conf.method) { | |
| 66 | + // '' is a default case for tests | ||
| 67 | + case '': | ||
| 66 | 68 | case 'property': | |
| 67 | 69 | runProperty(n); | |
| 68 | 70 | break; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -63,6 +63,8 @@ function main(conf) { | |||
| 63 | 63 | const n = +conf.n; | |
| 64 | 64 | const val = conf.val; | |
| 65 | 65 | switch (conf.method) { | |
| 66 | + // '' is a default case for tests | ||
| 67 | + case '': | ||
| 66 | 68 | case 'punycode': | |
| 67 | 69 | runPunycode(n, val); | |
| 68 | 70 | break; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments