作一个简单的“hello world”的node.js的应用

首先打开linux的终端输入如下代码:node

$ touch file.jslinux

$sudo gedit file.jscode

进入gedit编辑页面后输入要实现的js的代码it

console.log("hello world")

后在终端输入代码行console

$node file.jsclass

相关文章
相关标签/搜索