约 8 分钟
定义好的函数要“调用”才会执行:写出名字加括号。hello(); 就是让 hello 干一次活,想干几次就喊几次。
hello();
让上面的 star() 连续显示 3 个星号,可以怎么做?
star()
登录 后可看答案