Last active
August 29, 2015 14:11
-
-
Save mstred/66f1831e1a46521b9d67 to your computer and use it in GitHub Desktop.
JS sketches
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
/* | |
* A little bit of fun with JS | |
*/ | |
(function() { | |
var a = new Object(); | |
var b = undefined; | |
var c = "asd"; | |
var d = 123; | |
console.log(a); | |
console.log(b); | |
console.log(typeof (a * 2)); | |
console.log(typeof (a ^ d)); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment