{"ScriptPreparationCode":"function rand() {\r\n return Math.floor(Math.random * 10000);\r\n}","TestCases":[{"Name":"??=","Code":"const a = Array.from({ length: 10000 })\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n const idx = rand()\r\n a[idx] ??= 0\r\n a[idx] \u002B= 1\r\n}","IsDeferred":false},{"Name":"manual","Code":"const a = Array.from({ length: 10000 })\r\n\r\nfor (let i = 0; i \u003C 10000; i\u002B\u002B) {\r\n const idx = rand()\r\n if (!a[idx]) a[idx] = 0\r\n a[idx] \u002B= 1\r\n}","IsDeferred":false}]}