From b620233a74efa478c2c2e02b06cead2cd045cf7b Mon Sep 17 00:00:00 2001 From: tian <1295996350@qq.com> Date: Mon, 1 Apr 2024 17:58:48 +0800 Subject: [PATCH] =?UTF-8?q?[Issues:=20#I9DDGX]=20=E4=BF=AE=E5=A4=8Dlodash?= =?UTF-8?q?=E6=8E=92=E7=89=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zh-cn/lodash.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/lodash.md b/zh-cn/lodash.md index 3c306b60..3c30423b 100644 --- a/zh-cn/lodash.md +++ b/zh-cn/lodash.md @@ -106,15 +106,15 @@ lodashStable.findLastIndex(users, "active"); | --------- | ------------------------------------------------------------------------ | -------- | -------- | ----------------- | | camelCase | Converts string to camel case | function | NO | yes | | repeat | Repeats the given string n times | function | NO | yes | -| truncate | | function | NO | yes | +| truncate | Truncates string if it's longer than the given maximum string length | function | NO | yes | | toUpper | Converts string, as a whole, to upper case just like String#toUpperCase. | function | NO | yes | #### **Math** | Name | Description | Type | Required | HarmonyOS Support | -| ------ | ----------------------------------------- | -------- | -------- | ----------------- | ---- | +| ------ | ----------------------------------------- | -------- | -------- | ----------------- | | ceil | Computes number rounded up to precision | function | NO | yes | -| divide | Divide two numbers. | function | NO | yes | Math | +| divide | Divide two numbers. | function | NO | yes | | round | Computes number rounded to precision. | function | NO | yes | | floor | Computes number rounded down to precision | function | NO | yes | | sum | Computes the sum of the values in array | function | NO | yes | -- Gitee