From 51e6371e143038b4f2a6507b9636117292bca89b Mon Sep 17 00:00:00 2001 From: xdmal Date: Fri, 18 Mar 2022 18:04:58 +0800 Subject: [PATCH] Modify the format Signed-off-by: xdmal --- en/application-dev/reference/apis/js-apis-process.md | 4 ++-- en/application-dev/reference/apis/js-apis-util.md | 4 ++-- zh-cn/application-dev/reference/apis/js-apis-process.md | 4 ++-- zh-cn/application-dev/reference/apis/js-apis-util.md | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-process.md b/en/application-dev/reference/apis/js-apis-process.md index fa563d5a49..01308446e8 100644 --- a/en/application-dev/reference/apis/js-apis-process.md +++ b/en/application-dev/reference/apis/js-apis-process.md @@ -262,7 +262,7 @@ var pres = process.getThreadPriority(tid); ## process.getStartRealtime8+ -getStartRealtime() :number +getStartRealtime(): number Obtains the duration, in milliseconds, from the time the system starts to the time the process starts. @@ -280,7 +280,7 @@ var realtime = process.getStartRealtime(); ## process.getPastCputime8+ -getPastCputime() :number +getPastCputime(): number Obtains the CPU time (in milliseconds) from the time the process starts to the current time. diff --git a/en/application-dev/reference/apis/js-apis-util.md b/en/application-dev/reference/apis/js-apis-util.md index 902e9adeed..dac3313d4b 100644 --- a/en/application-dev/reference/apis/js-apis-util.md +++ b/en/application-dev/reference/apis/js-apis-util.md @@ -166,7 +166,7 @@ A constructor used to create a **TextDecoder** object. ### decode -decode(input: Unit8Array, options?:{stream?:false}):string +decode(input: Unit8Array, options?:{stream?:false}): string Decodes the input content. @@ -2141,7 +2141,7 @@ Checks whether the input value is a string object. ### isSymbolObjec8+ -isSymbolObjec(value: Object):boolean +isSymbolObjec(value: Object): boolean Checks whether the input value is a symbol object. diff --git a/zh-cn/application-dev/reference/apis/js-apis-process.md b/zh-cn/application-dev/reference/apis/js-apis-process.md index 14879cd9d6..e255e9ab3b 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-process.md +++ b/zh-cn/application-dev/reference/apis/js-apis-process.md @@ -262,7 +262,7 @@ var pres = process.getThreadPriority(tid); ## process.getStartRealtime8+ -getStartRealtime() :number +getStartRealtime(): number 获取从系统启动到进程启动所经过的实时时间(以毫秒为单位)。 @@ -280,7 +280,7 @@ var realtime = process.getStartRealtime(); ## process.getPastCputime8+ -getPastCputime() :number +getPastCputime(): number 获取进程启动到当前时间的CPU时间(以毫秒为单位)。 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 759d5e2883..f3aa4f637a 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-util.md +++ b/zh-cn/application-dev/reference/apis/js-apis-util.md @@ -174,7 +174,7 @@ TextDecoder的构造函数。 ### decode -decode(input: Unit8Array, options?:{stream?:false}):string +decode(input: Unit8Array, options?:{stream?:false}): string 通过输入参数解码后输出对应文本。 @@ -2321,7 +2321,7 @@ isStringObject(value: Object):boolean ### isSymbolObjec8+ -isSymbolObjec(value: Object):boolean +isSymbolObjec(value: Object): boolean 检查输入的value是否是Symbol对象类型。 -- GitLab