how to print console at last in js code example Example: javascript log to console const varName = 'this variable'; console.log(varName);