diff --git a/README.md b/README.md index 440487b106a5b797cd9fade5a15d669d13bdc3e5..68973cf3d197031a22298474119181870ad23ed8 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ console.log(uniqueArray); - `result`: 用于存储结果的数组,默认为空数组。 ```javascript -const nestedArray = [1, [2, [3, [4]], 5]]; +const nestedArray = [1, [2, [3, [4]], 5]; const demotedArray = arrayDemote(nestedArray); console.log(demotedArray); // 输出: 降维后的数组 [1, 2, 3, 4, 5] @@ -786,4 +786,4 @@ https://gitee.com/DieHunter/timer-manager-lib #### js-log-lib -https://gitee.com/DieHunter/js-log-lib +https://gitee.com/DieHunter/js-log-lib \ No newline at end of file