Created
August 14, 2010 21:43
-
-
Save satyr/524753 to your computer and use it in GitHub Desktop.
null vs undefined
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
<script src="JSLitmus.js"></script><script> | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
(function(){ | |
JSLitmus.test('null', function(){ | |
var i = 100; | |
while(--i) var v = null; | |
}); | |
JSLitmus.test('undefined', function(){ | |
var i = 100; | |
while(--i) var v = undefined; | |
}); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment