Jump to content

HARSH

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

HARSH's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. 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:*/
×
×
  • Create New...