[JavaScript] One Line Solution
javascript\nvar arraySign = (nums) => Math.min(1, Math.max(-1, nums.reduce((a,c) => a * c)))\n
```javascript\nvar arraySign = (nums) => Math.min(1, Math.max(-1, nums.reduce((a,c) => a * c)))\n```
['JavaScript']