Wang SiboOct 10, 20191 min readMap and Reduce in JavascriptSimilarly in no-sql,Map looks like a function but it return a new array for a variable.用起来很方便This is designed for lazy people, as they can reduce an array or this in one syntax.
Similarly in no-sql,Map looks like a function but it return a new array for a variable.用起来很方便This is designed for lazy people, as they can reduce an array or this in one syntax.