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