-
-
Save patrickcurl/8863707bd35684dd34ef to your computer and use it in GitHub Desktop.
http://www.freecodecamp.com/patrickcurl 's solution for Bonfire: Boo who
This file contains hidden or 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: @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