how can i control the number positive integer or not in javascript code example
Example: find positive integers javascript
.filter(num => num > 0 && num % parseInt(num) === 0)
.filter(num => num > 0 && num % parseInt(num) === 0)