tacking `? console.log` to the end of this line will check if console.log is available first. Otherwise you risk crashing browsers without a console object.