`onload.error = console.log;`
causes this:
`Uncaught SyntaxError: Unexpected token .`