{"ScriptPreparationCode":"var underscore = _.noConflict();\r\n\r\nvar objectArrays = [\r\n [\u0027bedroom\u0027, \u0027kitchen\u0027, \u0027bathroom\u0027, \u0027living room\u0027, \u0027indoors\u0027, \u0027outdoors\u0027, \u0027city\u0027, \u0027urban\u0027, \u0027villa\u0027, \u0027hotel\u0027],\r\n [\u0027bed\u0027, \u0027kitchen island\u0027, \u0027bath\u0027, \u0027room\u0027, \u0027city\u0027],\r\n [\u0027bed\u0027, \u0027bathroom\u0027, \u0027bath\u0027, \u0027room\u0027, \u0027city\u0027]\r\n];\r\n","TestCases":[{"Name":"manual lodash","Code":"let shared = [];\r\n\r\nobjectArrays.forEach((array, i) =\u003E {\r\n if (i === 0) {\r\n shared.push(...array);\r\n }\r\n else {\r\n _.intersection(shared, array);\r\n }\r\n});","IsDeferred":false},{"Name":"manual underscore","Code":"let shared = [];\r\n\r\nobjectArrays.forEach((array, i) =\u003E {\r\n if (i === 0) {\r\n shared.push(...array);\r\n }\r\n else {\r\n underscore.intersection(shared, array);\r\n }\r\n});","IsDeferred":false},{"Name":"Lodash","Code":"const arrayLodash = _.intersection(...objectArrays);","IsDeferred":false},{"Name":"Underscore","Code":"const arrayUnderscore = underscore.intersection(...objectArrays);","IsDeferred":false}]}