{"ScriptPreparationCode":"arr = new Array(100).fill(null).map((_, i) =\u003E new Array(100).fill(null).map((_, j) =\u003E i \u002B \u0022,\u0022 \u002B j));\r\n\r\nobjA = {};\r\nobjB = {};\r\nobjs = [objA, objB];\r\n\r\nrandomValues = new Array(10000).fill(null).map(() =\u003E [Math.floor(Math.random()*100), Math.floor(Math.random()*100), objs[Math.floor(Math.random()*2)]]);\r\n\r\nfunction getValue(obj, a , b) {\r\n if(obj === objA)\r\n return arr[a][b];\r\n else\r\n return arr[b][a];\r\n}","TestCases":[{"Name":"Normal access","Code":"const [a, b] = randomValues[Math.floor(Math.random()*10000)];\r\narr[a][b];","IsDeferred":false},{"Name":"Conditional index-swapped access","Code":"const [a, b, obj] = randomValues[Math.floor(Math.random()*10000)];\r\ngetValue(obj, a, b);","IsDeferred":false}]}