Last active
April 21, 2016 18:33
-
-
Save kopasetik/9f8e4920dc47fd6b12eeea9be2cb2431 to your computer and use it in GitHub Desktop.
PT 2 - April 2016 Sample Teach pt 2
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
function joinWordsWithAnd(string1, string2){ | |
return string1 + ' and ' + string2; | |
} | |
// for the above function, create a call that returns 'Macaroni and Cheese' |
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
// Write a function giveTrue that makes the statement below true | |
give5(true) === 5; |
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
function answerTrue(question){ | |
return true; | |
} | |
// Write a comment that says what the value of theAnswer is | |
var theAnswer = answerTruthfully('Am I the fairest of them all?'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment