Created
December 3, 2015 02:39
-
-
Save anonymous/f148e131d0ac158b6a68 to your computer and use it in GitHub Desktop.
http://www.freecodecamp.com/nirajkrz 's solution for Bonfire: Boo who
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
// Bonfire: Boo who | |
// Author: @nirajkrz | |
// 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. | |
//Check if a value is classified as a boolean primitive. Return true or false. | |
return typeof bool === 'boolean'; | |
} | |
boo(null); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment