current commit
250125.7 · test: replace more uses of `global` with `globalThis`
'use strict';
// Flags: --expose-gc
const common = require('../common');
const { onGC } = require('../common/gc');

{
  onGC({}, { ongc: common.mustCall() });
  globalThis.gc();
}

{
  onGC(process, { ongc: common.mustNotCall() });
  globalThis.gc();
}