{"ScriptPreparationCode":"var array = [];\r\nvar set = new Set();\r\nvar map = new Map();\r\n\r\nvar existingItem1 = {};\r\nvar existingItem2 = {};\r\nvar existingItem3 = {};\r\nvar newItem1 = {};\r\nvar newItem2 = {};\r\nvar newItem3 = {};\r\n\r\nfor (let i = 0, item; i \u003C 100; i\u002B\u002B) {\r\n item = {index: i};\r\n array.push(item);\r\n set.add(item);\r\n map.set(item, 0);\r\n}\r\n\r\narray.push(existingItem1, existingItem2, existingItem3);\r\nset.add(existingItem1); set.add(existingItem2); set.add(existingItem3);\r\nmap.set(existingItem1, 0); map.set(existingItem2, 0); map.set(existingItem3, 0);","TestCases":[{"Name":"conditional array.push","Code":"\r\n array.push(existingItem1);\r\n array.push(newItem1);\r\n array.push(existingItem2);\r\n array.push(newItem2);\r\n array.push(existingItem3);\r\n array.push(newItem3);","IsDeferred":false},{"Name":"set.add","Code":"set.add(existingItem1);\r\nset.add(newItem1);\r\nset.add(existingItem2);\r\nset.add(newItem2);\r\nset.add(existingItem3);\r\nset.add(newItem3);","IsDeferred":false}]}