how to print variable of project in browser console code example Example: javascript log to console const varName = 'this variable'; console.log(varName);