1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-25 16:49:18 -05:00
denoland-deno/tests/testdata/inspector/memory.js

14 lines
143 B
JavaScript
Raw Normal View History

const objs = [];
class Foo {
foo() {
return "foo";
}
}
setInterval(() => {
objs.push(new Foo());
}, 1000);
console.log("hello!");