mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-10 09:02:14 +02:00
The global gc() helper used to live in LibJS itself, but was recently removed. Several JS benchmarks still call gc() to force a collection, so reintroduce it on the js binary's global object (both the REPL and the bare script global) where it belongs as a testing affordance.