forked from mirrors/gecko-dev
23 lines
329 B
HTML
23 lines
329 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
</head>
|
|
<body>
|
|
<script>
|
|
"use strict";
|
|
|
|
window.allocs = [];
|
|
window.onload = function () {
|
|
function allocator() {
|
|
for (let i = 0; i < 1000; i++) {
|
|
window.allocs.push(new Object());
|
|
}
|
|
}
|
|
|
|
window.setInterval(allocator, 1);
|
|
};
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|