Description
When using any of Promise's static methods, a TypeError is thrown.
Steps to reproduce
Promise.resolve("hello").then(v => console.log(v));
Expected: logs "hello"
Actual: throws
TypeError: Promise.resolve is not a function
at https://jslog.app/static/js/main.9a8d2dca.js:2:3761710
Same error occurs with:
Promise.reject()
Promise.all()
Promise.race()
Promise.allSettled()
Promise.any()
Environment
- Browser: Chrome
- OS: Windows
Is this something I can work on? Happy to submit a PR.
Description
When using any of Promise's static methods, a
TypeErroris thrown.Steps to reproduce
Expected: logs
"hello"Actual: throws
Same error occurs with:
Promise.reject()Promise.all()Promise.race()Promise.allSettled()Promise.any()Environment
Is this something I can work on? Happy to submit a PR.