When invoking timers.setTimeout, an illegal invocation typerror is thrown in chrome
Closed this issue · 0 comments
cacieprins commented
This is because require('timers').setTimeout(function(){}, 1)
calls setTimeou
t with the context of the exports object and not window
.