HARSH Posted April 30, 2020 Share Posted April 30, 2020 Following is the code visible on the web page, explaining the use of upper-case module of nodejs in the npm section var http = require('http');var uc = require('upper-case'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.write(uc.upperCase("Hello World!")); res.end(); }).listen(8080); But on the android app the upperCase() method is missing, the following displays on app var http = require('http');var uc = require('upper-case'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/html'}); res.write(uc("Hello World!")); res.end(); }).listen(8080); and who is saying this, in the run examples comment... you or nodejs??? => /*Use our upper-case module to upper case a string:*/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now