how to get element in print statement in javascript code example Example: print in javascript console.log("")