Created
April 7, 2020 00:19
-
-
Save nuhil/7525a23865a1e7b7423f0843e774105b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var server = http.createServer().listen(3000); | |
server.on('request', function (request, response) { | |
response.end('Hello World!'); | |
}); | |
console.log("Listening on port 3000...") | |
// Note: যদিও এভাবে এই কোডটি লেখা হয়ে থাকে না কিন্তু request ইভেন্টের অস্তিত্ব বোঝাতে এভাবে লেখা |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment