Create an array containing the first 10 prime numbers.
Here is an array containing the first 10 prime numbers: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]
Complete the following task based on the instruction and optional input provided.### Instruction:
Create an array containing the first 10 prime numbers.

### Output:
Here is an array containing the first 10 prime numbers: [2, 3, 5, 7, 11, 13, 17, 19, 23, 29]