MonkSpaces.Ai interview question

Find the first n prime number using Javascript?