{"ScriptPreparationCode":"var testArray = [\u0027foo\u0027, \u0027a\u0027,\u0027b\u0027, \u0027c\u0027,\u0027d\u0027,\u0027e\u0027,\u0027f\u0027,\u0027g\u0027,\u0027h\u0027,\u0027i\u0027,\u0027j\u0027, \u0027k\u0027, \u0027l\u0027,\u0027m\u0027,\u0027n\u0027 ,\u0027bar\u0027];\r\nvar testString = testArray.join(\u0027,\u0027);\r\nvar objectHash = testArray.reduce((acc, key) =\u003E {acc[key] = true; return acc;},{});\r\nvar testSet = new Set(testArray);","TestCases":[{"Name":"Array.includes","Code":"const testStrFirst = \u0027foo\u0027;\r\ntestArray.includes(testStrFirst);\r\n\r\nconst testStrSecond = \u0027bar\u0027;\r\ntestArray.includes(testStrSecond);\r\n\r\nconst testStrNotMatch = \u0027baz\u0027;\r\ntestArray.includes(testStrNotMatch);","IsDeferred":false},{"Name":"String.includes","Code":"const testStrFirst = \u0027foo\u0027;\r\ntestString.includes(testStrFirst);\r\n\r\nconst testStrSecond = \u0027bar\u0027;\r\ntestString.includes(testStrSecond);\r\n\r\nconst testStrNotMatch = \u0027baz\u0027;\r\ntestString.includes(testStrNotMatch);","IsDeferred":false},{"Name":"Object Hash-map","Code":"const testStrFirst = \u0027foo\u0027;\r\nobjectHash[testStrFirst];\r\n\r\nconst testStrSecond = \u0027bar\u0027;\r\nobjectHash[testStrSecond];\r\n\r\nconst testStrNotMatch = \u0027baz\u0027;\r\nobjectHash[testStrNotMatch];","IsDeferred":false},{"Name":"ES6 Set","Code":"const testStrFirst = \u0027foo\u0027;\r\ntestSet.has(testStrFirst);\r\n\r\nconst testStrSecond = \u0027bar\u0027;\r\ntestSet.has(testStrSecond);\r\n\r\nconst testStrNotMatch = \u0027baz\u0027;\r\ntestSet.has(testStrNotMatch);","IsDeferred":false}]}