If an injected JavaScript code modifies Date class
Date
Date = new Proxy(Date, { ...
or
Date.prototype.to