how to console in javascript code example Example: console.log javascript console.log(10); console.log('You can also log numbers')