how to print a variable in web console code example Example: print javascript variable in console console.log(p);