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]);