function myFunction(){
回归“你摇滚!”;
}
let varOne = myFunction; //设置为等于函数
let varTwo = myFunction(); //设置为等于字符串“You rock!”
result
设置为调用函数getNine
返回的值。 result
以便将其设置为函数getNine
返回的数字。
testString: 'assert(result == 9, "Your code should fix the variable result
so it is set to the number that the function getNine
returns.");'
- text: 您的代码应该调用getNine
函数。
testString: 'assert(code.match(/getNine\(\)/g).length == 2, "Your code should call the getNine
function.");'
```