Is there a way to run JavaScript code inside Aptana Studio 3 IDE?

前端 未结 5 2522
感情败类
感情败类 2021-02-20 10:53

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:

5条回答
  •  南笙
    南笙 (楼主)
    2021-02-20 11:37

    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).

提交回复
热议问题