DEV Community

Discussion on: A Simple Method To Finding Prime Numbers.

Collapse
 
cat profile image
Cat

This is pretty great, and I liked how you covered several programming languages!
For best practices in JS, however, it's best to use the strict comparison ("===") operator, just because a ton of things can slip through the cracks when using "==".

Collapse
 
seanolad profile image
Sean

thanks