Skip to content

Instantly share code, notes, and snippets.

@rinunu
Created September 27, 2016 14:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rinunu/e4015453c7f72196668a3cd09e873a0a to your computer and use it in GitHub Desktop.
Save rinunu/e4015453c7f72196668a3cd09e873a0a to your computer and use it in GitHub Desktop.
<!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