diff --git a/en/application-dev/reference/apis/js-apis-process.md b/en/application-dev/reference/apis/js-apis-process.md index f99ddb6580e1d79981282bcd4f35e36d2b28efe5..dec8f8b8f4edf921789235c723cd7f4007ced8a1 100755 --- a/en/application-dev/reference/apis/js-apis-process.md +++ b/en/application-dev/reference/apis/js-apis-process.md @@ -596,5 +596,5 @@ Sends a signal to the specified process to terminate it. **Example** ```js var pres = process.pid -var result = that.kill(pres, 28) +var result = that.kill(28, pres) ``` 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 e4e429a80f5ab1215e7fe9f3308ff61f03ed9128..797c646da5bf300c08b6a4041fe8e7f7cc21b3c1 100755 --- a/zh-cn/application-dev/reference/apis/js-apis-process.md +++ b/zh-cn/application-dev/reference/apis/js-apis-process.md @@ -597,5 +597,5 @@ kill(signal: number, pid: number): boolean ```js var pres = process.pid -var result = that.kill(pres, 28) +var result = that.kill(28, pres) ```