mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
The checker treated `$.global.local.saveAs = …` as replacing the variable's own saveAs, but missed the bracket forms `$.global['local'].saveAs = …`, `this['local'].saveAs = …`, `globalThis['local']['saveAs'] = …` and `$.global.local['saveAs'] = …`, so a script could rebind a document write method that way and its later writes were not reported. These forms now end the variable's own saveAs, including when a function body declares a variable of the same name.