1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
denoland-deno/tests/testdata/inspector/memory.js

14 lines
143 B
JavaScript
Raw Permalink Normal View History

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