This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*------------------------------Drill 1----------------------------*/ | |
function computeArea(width, height) { | |
// your code here | |
return width*height; | |
} | |
/* From here down, you are not expected to | |
understand.... for now :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*-----------------------Drill 1----------------------*/ | |
function wisePerson(wiseType, whatToSay) { | |
// your code here | |
var a = "A wise "+wiseType+" once said: \""+whatToSay+ | |
"\"."; | |
return a; | |
} | |
/* From here down, you are not expected to |
NewerOlder