支持 js websocket
This commit is contained in:
7
examples/js_hello_world/index.js
Normal file
7
examples/js_hello_world/index.js
Normal file
@@ -0,0 +1,7 @@
|
||||
response.write("hello world")
|
||||
console.log("hello world")
|
||||
function testError(){
|
||||
throw Error("Method not implemented")
|
||||
}
|
||||
response.setHeader("content-type", "application/json")
|
||||
testError()
|
||||
Reference in New Issue
Block a user