编辑代码

//JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 
console.log("Hello JSRUN!   \n\n         - from NodeJS .");

const express = require('express')

const app = express()

app.get('/',function(req,res){
    res.status(200).json({
        message:"hello"
    })
})

app.listen(port=3000,function(){
    console.log('http://127.0.0.1:3000')
})