![Code Review](http://sstatic.net/codereview/img/apple-touch-icon.png)
I'm a beginner in Javascript. I found this method kinda tough to get for a beginner like me. But i tried to do my best, and here's what i came up with.
Is this a good code regarding performance ? Is there anything wrong with it ?
var notPrime = [] ;
var prime = [] ;
var n = prompt("Enter n: ")...