javascript check string is positive number code example Example: find positive integers javascript .filter(num => num > 0 && num % parseInt(num) === 0)