Created
September 27, 2016 14:25
-
-
Save rinunu/e4015453c7f72196668a3cd09e873a0a to your computer and use it in GitHub Desktop.
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
<!doctype html> | |
<html lang="en"> | |
<body> | |
<script> | |
setInterval(function () { | |
var obj1 = {prop1: 0.1}; | |
for (var i = 0; i < 10000; i++) { | |
var b = 10; | |
var obj2 = {prop1: b}; | |
var arr = [1]; | |
arr.push(1); | |
if (obj2.prop1 !== 10) { | |
alert('error!!!'); | |
} | |
} | |
}, 100); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment