how to log javascript variable in console and browser code example Example: console log javascript console.log("hello", value);