From c51eb73919d877e734aed61b65c5c57437ec1128 Mon Sep 17 00:00:00 2001 From: xdmal Date: Tue, 22 Mar 2022 14:59:11 +0800 Subject: [PATCH] Modify the format Signed-off-by: xdmal --- en/application-dev/reference/apis/js-apis-url.md | 4 ++-- en/application-dev/reference/apis/js-apis-util.md | 6 +++--- zh-cn/application-dev/reference/apis/js-apis-url.md | 4 ++-- zh-cn/application-dev/reference/apis/js-apis-util.md | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) mode change 100644 => 100755 en/application-dev/reference/apis/js-apis-url.md mode change 100644 => 100755 zh-cn/application-dev/reference/apis/js-apis-url.md diff --git a/en/application-dev/reference/apis/js-apis-url.md b/en/application-dev/reference/apis/js-apis-url.md old mode 100644 new mode 100755 index 6ca9f8ae9b..a679841ee2 --- a/en/application-dev/reference/apis/js-apis-url.md +++ b/en/application-dev/reference/apis/js-apis-url.md @@ -113,7 +113,7 @@ console.log(params.getAll('fod')) // Output ["1","3"]. ### entries -entries(): IterableIterator<[string, string]> +entries(): IterableIterator<[string, string]> Obtains an ES6 iterator. Each item of the iterator is a JavaScript array, and the first and second fields of each array are the key and value respectively. @@ -135,7 +135,7 @@ for (var pair of searchParamsObject .entries()) { // Show keyName/valueName pair ### forEach -forEach(callbackfn: (value: string, key: string, searchParams: Object) => void, thisArg?: Object): void +forEach(callbackfn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void Traverses the key-value pairs in the **URLSearchParams** instance by using a callback. diff --git a/en/application-dev/reference/apis/js-apis-util.md b/en/application-dev/reference/apis/js-apis-util.md index f1a9eb0b86..6dd2b4319a 100755 --- a/en/application-dev/reference/apis/js-apis-util.md +++ b/en/application-dev/reference/apis/js-apis-util.md @@ -147,7 +147,7 @@ Processes an asynchronous function and returns a promise version. ### constructor -constructor(encoding?: string, options?: { fatal?: boolean;ignoreBOM?: boolean }) +constructor(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }) A constructor used to create a **TextDecoder** object. @@ -1108,7 +1108,7 @@ class Temperature{ ### constructor8+ -constructor(lowerObj: ScopeType,upperObje: ScopeType) +constructor(lowerObj: ScopeType, upperObj: ScopeType) A constructor used to create a **Scope** object with the specified upper and lower limits. @@ -2321,7 +2321,7 @@ Checks whether the input value is a string object. ### isSymbolObjec8+ -isSymbolObjec(value: Object): boolean +isSymbolObject(value: Object): boolean Checks whether the input value is a symbol object. diff --git a/zh-cn/application-dev/reference/apis/js-apis-url.md b/zh-cn/application-dev/reference/apis/js-apis-url.md old mode 100644 new mode 100755 index 2208093cd8..1c2c93f6e6 --- a/zh-cn/application-dev/reference/apis/js-apis-url.md +++ b/zh-cn/application-dev/reference/apis/js-apis-url.md @@ -113,7 +113,7 @@ console.log(params.getAll('fod')) // Output ["1","3"]. ### entries -entries(): IterableIterator<[string, string]> +entries(): IterableIterator<[string, string]> 返回一个ES6的迭代器,迭代器的每一项都是一个 JavaScript Array。Array的第一项是name,Array的第二项是value。 @@ -135,7 +135,7 @@ for (var pair of searchParamsObject .entries()) { // Show keyName/valueName pair ### forEach -forEach(callbackfn: (value: string, key: string, searchParams: Object) => void, thisArg?: Object): void +forEach(callbackfn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void 通过回调函数来遍历URLSearchParams实例对象上的键值对。 diff --git a/zh-cn/application-dev/reference/apis/js-apis-util.md b/zh-cn/application-dev/reference/apis/js-apis-util.md index 3b67503488..0df5317f66 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-util.md +++ b/zh-cn/application-dev/reference/apis/js-apis-util.md @@ -147,7 +147,7 @@ promiseWrapper(original: (err: Object, value: Object) => void): Object ### constructor -constructor(encoding?: string, options?: { fatal?: boolean;ignoreBOM?: boolean }) +constructor(encoding?: string, options?: { fatal?: boolean; ignoreBOM?: boolean }) TextDecoder的构造函数。 @@ -1108,7 +1108,7 @@ class Temperature{ ### constructor8+ -constructor(lowerObj: ScopeType,upperObje: ScopeType) +constructor(lowerObj: ScopeType, upperObj: ScopeType) 用于创建指定下限和上限的作用域实例的构造函数,返回一个Scope对象。 @@ -2321,7 +2321,7 @@ isStringObject(value: Object): boolean ### isSymbolObjec8+ -isSymbolObjec(value: Object): boolean +isSymbolObject(value: Object): boolean 检查输入的value是否是Symbol对象类型。 -- GitLab