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 pretty sure that console is meant for viewing the output of Aptana's Ruby-based commands (installed under the Commands menu). It might be possible to follow the instructions here: http://www.chromium.org/for-testers/enable-logging and then tail the resulting log file in a Terminal panel (not the same as a console window).