"JavaScript for Automation" is brand new in OSX Yosemite. I am not familiar with AppleScript as I don't really like how verbose it is. But Javascript looks great! However, I can't figure out how to send debug messages to the message window of ScriptEditor! I've looked everywhere... Is this possible? What is the code to do it?
I tried:
console.log("Hello World");
But that doesn't work. Any ideas? This should be so simple!
Note: This isn't an HTML/Javascript question. I am talking about the App called "Script Editor" in OSX using the Javascript language instead of AppleScript. I would tag this question with "Script-editor" but SO won't allow me to tag.