OutMatch interview question

Write a program in javascript returning prime numbers form 1 to n,

Interview Answer

Anonymous

1 Sept 2022

I tired to code and at last was successful in the attempt.