Skip to content
loading...

re: Quick JavaScript Tip: the some() method VIEW POST

TOP OF THREAD FULL DISCUSSION
re: can't we use simply animals.indexOf("snakes") > -1
 

You can! That's the beauty of code, there's usually more than one way to solve a problem. It all comes down to preference and the task at hand.

code of conduct - report abuse