Simple Javascript Solution
\nvar arraySign = function(nums) {\n\t// use filter to find total negative numbers in the array\n    let negativeCount = nums.filter(n => n<0).length;\n\t\n\t//
```\nvar arraySign = function(nums) {\n\t// use filter to find total negative numbers in the array\n    let negativeCount = nums.filter(n => n<0).length;\n\t\n\t// check if the nums array has zero. If it does, then return 0\n    if(nums.includes(0)) return 0;\n\t\n\t// If negativeCount variable is even answer is 1 else -1\n    return negativeCount % 2 === 0 ? 1 : -1\n};\n```
['JavaScript']