{"ScriptPreparationCode":"var dataset = [...Array(20)].map((v, idx) =\u003E idx);\r\nvar candidates = [1, 2, 5];","TestCases":[{"Name":"lodash","Code":"var flag = candidates.length === (_.intersection(dataset, candidates)).length","IsDeferred":false},{"Name":"es6 set","Code":"var ds = new Set(dataset);\r\nvar cs = new Set(candidates);\r\nvar flag = candidates.length === ([...ds].filter(v =\u003E cs.has(v))).length;","IsDeferred":false},{"Name":"es6 loop","Code":"var flag = true;\r\ndataset.forEach((v) =\u003E {\r\n if (!candidates.includes(v)) {\r\n flag = false;\r\n }\r\n});","IsDeferred":false}]}