I discovered this while working on mozilla/addons-linter. I know that document.write() without an argument is theoretically wrong code but eslint doesn't validate this so we have to take care of that ourselves.
Let me know if I should fix this differently somehow or if you need more information about this.
I discovered this while working on mozilla/addons-linter. I know that
document.write()
without an argument is theoretically wrong code but eslint doesn't validate this so we have to take care of that ourselves.Let me know if I should fix this differently somehow or if you need more information about this.