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了。在一个控制台窗口中,看到结果。

更多相关文章

  1. 有没有办法在javascript控制台中将上下文更改为iframe?
  2. 控制台在node . js中没有“debug”方法吗?
  3. Python第十天 print >> f,和fd.write()的区别 stdout的buffer 标
  4. 在Python中显示来自控制台的图像
  5. 适用于Google Play开发者控制台的付费应用的Android Alpha,Beta版
  6. JAVA基础_Java IO流 控制台到记事本、记事本到控制台及详解
  7. Java-控制台传递参数

随机推荐

  1. Android OpenGL例子学习
  2. Android使用百度地图SDK获得当前设备位置
  3. Android逆向分析常用网站
  4. Linux系统Android SDK 下载版本,报错Warni
  5. android(2.0以后版本) 中读取联系人和通
  6. 更新SDK后eclipse报错This Android SDK r
  7. Android中常用的Intent.Action整理
  8. android 常用JVM配置参数
  9. webView去掉右侧导航条
  10. android之android.os.NetworkOnMainThrea