kindring 3 ani în urmă
părinte
comite
d617365ce9
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      js/合并数组中的key值.md

+ 2 - 1
js/合并数组中的key值.md

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2021-08-20 16:17:21
- * @LastEditTime: 2021-08-24 11:31:49
+ * @LastEditTime: 2021-08-24 11:33:19
  * @LastEditors: Please set LastEditors
  * @Description: 
  * @FilePath: \md-\js\合并数组中的key值.md
@@ -115,6 +115,7 @@ const res = [...map.values()]
 - `array`原始数组,当前循环的原始数组
 > [!tip] 
 > 一个偏向于官方风格的示例,用来求数组中的和
+ 
 ```js
 [0,1,2,3].reduce((accumulator,currentValue,index,array)=>{
     console.log(`accumulator:${accumulator}\ncurrentValue:${currentValue}\nindex:${index}`)