main.js
1
2
3
4
5
6
function getPrimeNumbers() {
  return [ 
    2, 3, 5, 7, 11, 13, 17 
  ];
}
console.log(getPrimeNumbers()); // => [2, 3, 5, 7, 11, 13, 17]
Native Browser JavaScript