how to log a function in javascript code example Example: how to print console in javascript console.log("message here")