score:0

try removing the 'use strict'. this error comes from the window object stopping being associated with this in global context by strict mode, returning undefined instead (which has no document property).


Related Query

More Query from same tag