首页课程Kelas menyeronokkan Javascriptmentakrifkan fungsi

mentakrifkan fungsi

目录列表

函数是什么?

添加相应的关键字和符号以创建名为“test”的函数。

test()

/*一些代码*/

填写空白来定义并调用“hello”函数。

hello() { 

alert("Hi there"); 

}

();

在网页内函数可以执行多少次?