summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug1883828.js
blob: 3c63a00d2bb75cd0010cc00f805741bb99c2c020 (plain)
1
2
3
4
5
const arr = [];
arr[Symbol.toPrimitive] = quit;
const stack = {stack: saveStack(), cause: arr};
const bound = bindToAsyncStack(function() {}, stack);
bound();