JS Return indefinido no ReferenceError

window.console && console.log(new Date());
Sal-versij