Aptana Studio 3 IDE中有运行JavaScript代码的方法吗?
16lz
2021-01-22
I created a Test.js file and wrote two lines of JS code in it:
我创建了一个测试。js文件,里面写了两行js代码:
var a = 5;
console.log("The result is = " + a);
The output should be:
输出应该是:
"The result is = 5"
Is there a way I can see this in Aptana Scripting console, instead of integrating the JS code in a HTML file and saving/refreshing it?
是否有一种方法可以在Aptana脚本控制台中看到这一点,而不是在HTML文件中集成JS代码并保存/刷新它?
Can any other IDE, say Netbeans help, if not Aptana?
Netbeans说,如果没有Aptana,还有其他IDE能帮上忙吗?
Any advise would be highly appreciated.
如有任何建议,将不胜感激。
Regards
问候
Roy
罗伊
5 个解决方案
#1
1
I think that it would be best if you give Node.js a try. This way, you get to call node test.js
on a console window and see the result.
我认为给Node是最好的。js一试。这样,您就可以调用node test了。在一个控制台窗口中,看到结果。
更多相关文章
- 有没有办法在javascript控制台中将上下文更改为iframe?
- 控制台在node . js中没有“debug”方法吗?
- Python第十天 print >> f,和fd.write()的区别 stdout的buffer 标
- 在Python中显示来自控制台的图像
- 适用于Google Play开发者控制台的付费应用的Android Alpha,Beta版
- JAVA基础_Java IO流 控制台到记事本、记事本到控制台及详解
- Java-控制台传递参数