ladybird/Base/home/anon/js/forced-gc.js
Andreas Kling d1d136b4e5 LibJS: Replace $gc() hack with a NativeFunction on the global object
To make this work, also start passing Interpreter& to native functions.
2020-03-12 20:04:54 +01:00

6 lines
52 B
JavaScript

function foo() {
var x = {};
gc();
}
foo();