|
|
|
@ -120,10 +120,11 @@ console.log("Hello World");
|
|
|
|
|
*/
|
|
|
|
|
function checkIfPassed(x,y) {
|
|
|
|
|
console.log("Is " + x +"/"+ y +" a passing score?");
|
|
|
|
|
return checkIfPassed = ((x, y) => x + y, true);
|
|
|
|
|
return x <= y;
|
|
|
|
|
}
|
|
|
|
|
console.log(checkIfPassed(38,50));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//Do not modify
|
|
|
|
|
//For exporting to test.js
|
|
|
|
|
//Note: Do not change any variable and function names. All variables and functions to be checked are listed in the exports.
|
|
|
|
|