chore(i18n,curriculum): update translations (#42191)

This commit is contained in:
camperbot
2021-05-24 00:42:08 -07:00
committed by GitHub
parent 66c5523909
commit bd69e00480
51 changed files with 225 additions and 197 deletions

View File

@ -20,7 +20,7 @@ FCC 团队需求有变更现在想要两种茶绿茶green tea和红
将函数为参数或返回值的函数叫做高阶 ( <dfn>higher order</dfn>) 函数。
当函数传递给另一个函数或从另一个函数返回时,那些传入或返回的函数可以叫做<dfn>lambda</dfn>
当函数传递给另一个函数或从另一个函数返回时,那些传入或返回的函数可以叫做 <dfn>lambda</dfn>
# --instructions--

View File

@ -12,7 +12,7 @@ dashedName: use-higher-order-functions-map-filter-or-reduce-to-solve-a-complex-p
# --instructions--
已经定义了一个函数 `squareList`。 你需要使用 `map()``filter()``reduce()` 的任组合完成 `squareList` 函数的代码。当传入一个实数数组时,返回一个*仅*包含正整数(小数不是整数)的平方的新数组。 仅包含实数字的数组示例是 `[-3, 4.8, 5, 3, -3.2]`
使用 `map()``filter()``reduce()` 的任组合完成 `squareList` 函数的代码。 传递一个包含实数数组给函数时,函数应返回一个新的数组,*只*包含正整数(小数不是整数)的平方值, 例如 `[-3, 4.8, 5, 3, -3.2]` 这样一个包含实数的数组
**注意:** 函数不应该包含任何形式的 `for` 或者 `while` 循环或者 `forEach()` 函数。