summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/cacheir/bug1438727.js
blob: 4846195da8e3356d4c52e7bcd0d5ca2892d5a2f7 (plain)
1
2
3
4
5
6
7
const handler = {}
function testArray(arr) {
    let proxy = new Proxy(arr, handler)
    proxy.sort((x, y) => 1 * x - y);
    arr.sort((x, y) => 1 * x - y);
}
testArray([5, (this), 2, 99]);