summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/primitives-handling-in-promise-all.js
blob: 4032f34bc4bc3932d2f50febf02d1b0ef3286fc7 (plain)
1
2
3
4
5
// This just shouldn't crash.
ignoreUnhandledRejections();

Promise.resolve = () => 42;
Promise.all([1]);