{"ScriptPreparationCode":"var dataset = [...Array(100)].map((v, idx) =\u003E idx);\r\nvar candidates = [1, 2, 5];","TestCases":[{"Name":"lodash","Code":"var flag = _.difference(candidates, dataset).length === 0;","IsDeferred":false},{"Name":"es6 set","Code":"var ds = new Set(dataset);\r\nvar cs = new Set(candidates);\r\nvar flag = ([...cs].filter(v =\u003E !ds.has(v))).length === 0;","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}]}