Return Statement
abhiraj (0)

The return statement doesn't print anything in the repl's console, while it does in my browser's console. So, what's wrong with the repl's console?

Check script.js, thanks!

You are viewing a single comment. View All
barrycarter (14)

As @Vandesm14 notes, your browser may be configured to show the result of return() statements, but, in general, return doesn't print anything.