I was able to guess to fill in the blanks for this exercise, but really do not understand how this code creates a new array of only prime numbers. Thanks for your explanation in advance!
Complete the blanks to create a JavaScript array primes containing prime numbers only.
const numbers = [16, 6, 26, 5];
const primes = number.map (p => {
return p-3;
}):