Easy JS one liner
Code\n\nconst arraySign = nums => nums.includes(0) ? 0 : Math.sign(nums.reduce((p, n) => p * n, 1));\n
# Code\n```\nconst arraySign = nums => nums.includes(0) ? 0 : Math.sign(nums.reduce((p, n) => p * n, 1));\n```
['JavaScript']