未验证 提交 b284f6ff 编写于 作者: O openharmony_ci 提交者: Gitee

!2833 Done! 2308:自动化测试问题修改

Merge pull request !2833 from wusongqing/TR2308
......@@ -133,7 +133,7 @@ Triggers an event.
// func1 is called,1,2
this.context.eventHub.emit("123", 1, 2);
}
func1(a: string, b: string) {
func1(a, b) {
console.log("func1 is called," + a + "," + b);
}
}
......
......@@ -428,7 +428,7 @@ Uses a callback to traverse the entries in this container and obtain their posit
callbackfn
| Name| Type| Mandatory| Description|
| -------- | -------- | -------- | -------- |
| value | T | Yes| Value of the entry that is currently traversed.|
| value | T | No| Value of the entry that is currently traversed.|
| key| T | No| Key of the entry that is currently traversed (same as **value**).|
| set | LightWeightSet<T> | No| Instance that invokes the **forEach** method.|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册