Skip to content

Instantly share code, notes, and snippets.

@kopasetik
Last active April 21, 2016 18:33
Show Gist options
  • Save kopasetik/9f8e4920dc47fd6b12eeea9be2cb2431 to your computer and use it in GitHub Desktop.
Save kopasetik/9f8e4920dc47fd6b12eeea9be2cb2431 to your computer and use it in GitHub Desktop.
PT 2 - April 2016 Sample Teach pt 2
function joinWordsWithAnd(string1, string2){
return string1 + ' and ' + string2;
}
// for the above function, create a call that returns 'Macaroni and Cheese'
// Write a function giveTrue that makes the statement below true
give5(true) === 5;
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