{"ScriptPreparationCode":"var array = [];\r\nvar set = new Set();\r\n\r\nvar events = [\u0027reset\u0027,\u0027ready\u0027,\u0027change\u0027,\u0027default\u0027,\u0027destroy\u0027];\r\nvar toCheck = [\u0027default\u0027, \u0027notthere\u0027, \u0027reset\u0027, \u0027detroit\u0027, \u0027change\u0027, \u0027nope\u0027];","TestCases":[{"Name":"Array","Code":"events.forEach(event =\u003E array.push(event));\r\nlet x = false;\r\ntoCheck.forEach(event =\u003E {\r\n x = array.includes(event);\r\n});","IsDeferred":false},{"Name":"Set","Code":"events.forEach(event =\u003E set.add(event));\r\nlet x = false;\r\ntoCheck.forEach(event =\u003E {\r\n x = set.has(event);\r\n});","IsDeferred":false}]}