how to add a console.log statement into methods code example Example: how to use console.log javascript console.log("Hello world!");