Simple Javascript Solution
\nvar arraySign = function(nums) {\n    if(nums.includes(0)) return 0;\n    return (nums.filter(item => item < 0).length % 2 === 0 ? 1 : -1);\n};\n
```\nvar arraySign = function(nums) {\n    if(nums.includes(0)) return 0;\n    return (nums.filter(item => item < 0).length % 2 === 0 ? 1 : -1);\n};\n```
['JavaScript']