Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
localhost:8080/?name=2017&lname=July
//nodejs v4.2.6 //console.log("Hello, World!"); var http=require('http'); //var dt=require('./myfirstModule'); var url=require('url'); http.createServer(function(req,res){ res.writeHead(200,{'Content-Type':'text/html'}); //res.write(dt.myDateTime()); res.write(req.url); var q=url.parse(req.url,true).query; res.write("Name "+q.name+" "+"Last name "+q.lname); //res.end("\n"+'Hello World!'); res.end(); }).listen(8080);
run
|
edit
|
history
|
help
0
JSON parse
demo.js
AVL-GO-FLAT
Compare 2 arrays and fill 1 or 2
JS - check 2 arrays, add 1 or 2, logical operations
Lowertoupper
Include object in a query string
Union of two sorted arrays
fast function to reverse unsigned integer
Find the missing number in array