summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/promise/primitives-handling-in-promise-all.js
blob: 061daaa8be082c8dd5aeb5acae1a94785e6f95b0 (plain)
1
2
3
// This just shouldn't crash.
Promise.resolve = () => 42;
Promise.all([1]);