Whats the difference between return and console.log


#1

whats the difference between using return and console.log


#2

They are two completely different things.

One is for printing to the console.
One is for returning a value from a function.