Files
vectorcraft/crates
dotCooCoo dbe8120de7 Scripts: report saveAs replaced through bracketed global members
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.
2026-12-02 20:04:48 -08:00
..