Skip to content

Instantly share code, notes, and snippets.

@patrickcurl
Forked from anonymous/bonfire-boo-who.js
Created December 9, 2015 11:46
Show Gist options
  • Select an option

  • Save patrickcurl/8863707bd35684dd34ef to your computer and use it in GitHub Desktop.

Select an option

Save patrickcurl/8863707bd35684dd34ef to your computer and use it in GitHub Desktop.
http://www.freecodecamp.com/patrickcurl 's solution for Bonfire: Boo who
// Bonfire: Boo who
// Author: @patrickcurl
// Challenge: http://www.freecodecamp.com/challenges/bonfire-boo-who
// Learn to Code at Free Code Camp (www.freecodecamp.com)
function boo(bool) {
// What is the new fad diet for ghost developers? The Boolean.
if(typeof bool === "boolean"){
return true;
}
return false;
}
boo(null);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment