I created a Test.js file and wrote two lines of JS code in it:
var a = 5;
console.log(\"The result is = \" + a);
The output should be:
I'm afraid it is not possible.
But What I did was to setup a simple workbench.html file, where in the header I put
[...]
and then modified the myJsFile.js
and saved it.
Another very intersting possibility is given by http://www.developer.nokia.com/Community/Wiki/Aptana_WRT_Plugin:_Displaying_log_messages_in_Output_console
just check it