JavaScript - JS
\n/**\n * @param {number[][]} nums\n * @return {number[]}\n */\nvar intersection = function (nums) {\n  const result = [];\n\n  for (let i = 0; i < nums[0].leng
```\n/**\n * @param {number[][]} nums\n * @return {number[]}\n */\nvar intersection = function (nums) {\n  const result = [];\n\n  for (let i = 0; i < nums[0].length; i++) {\n    if (nums.every((x) => x.includes(nums[0][i]))) {\n      result.push(nums[0][i]);\n    }\n  }\n\n  return result.sort((a, b) => a - b);\n};\n```
['JavaScript']