js return undefined on ReferenceError code example Example: js return undefined on ReferenceError window.console && console.log(new Date());