{"ScriptPreparationCode":"const myVar = \u0027test\u0027\r\nconst mySet = new Set();\r\nconst myMap = new Map();\r\nconst myObj = {};\r\n\r\nfor(let i = 0; i \u003C 100; i\u002B\u002B) {\r\n const newVar = \u0060${myVar}${i}\u0060;\r\n mySet.add(newVar);\r\n myMap.set(newVar, 0);\r\n myObj[newVar] = 0;\r\n}\r\n\r\nconst length = 100000000;","TestCases":[{"Name":"Object Assignment","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tmyObj.test = 1;\r\n}","IsDeferred":false},{"Name":"Object Assignment \u002B condition","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tif (!myObj.test) myObj.test = 1;\r\n}","IsDeferred":false},{"Name":"Set assignment","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tmySet.add(\u0027test\u0027);\r\n}","IsDeferred":false},{"Name":"Set assignment \u002B condition","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tif (!mySet.has(\u0027test\u0027)) mySet.add(\u0027test\u0027);\r\n}","IsDeferred":false},{"Name":"Map assignment","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tmyMap.set(\u0027test\u0027, 1);\r\n}","IsDeferred":false},{"Name":"Map assignment \u002B condition","Code":"for (let i=0; i \u003C length; i\u002B\u002B) {\r\n\tif (!myMap.has(\u0027test\u0027)) myMap.set(\u0027test\u0027, 1);\r\n}","IsDeferred":false}]}