Loading problem…
Predict the output.
const r = /a/g console.log(r.test('a'), r.test('a'), r.lastIndex)