Created
August 14, 2015 16:26
-
-
Save alexandrebvd/7aae0a8e4af7d3338275 to your computer and use it in GitHub Desktop.
26.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
function boo(bool) { | |
// What is the new fad diet for ghost developers? The Boolean. | |
if (typeof(bool) === 'boolean') { | |
var isBoolean = true; | |
} else { | |
isBoolean = false; | |
} | |
return isBoolean; | |
} | |
boo(false); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment