conditions,{},semicolons and console.log vs return