Find a Thing

    function findFirstGreaterThan10(numbers) {
        for(const num of numbers) {
            if(num > 10) {
                return num;
            }
        }
    }
    
    function findFirstStartsWithS(names) {
        for(const name of names) {
            if(name.startsWith("S")) {
                return name;
            }
        }
    }
    
    function findFirstPrime(numbers) {
        for(const num of numbers) {
            if(isPrime(num)) {
                return el;
            }
        }
    }

    9 / 21