why using virtual in javascript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • suvarnareddy
    New Member
    • Apr 2016
    • 1

    why using virtual in javascript

    I am learner of nodejs.In nodejs using model contains virtual method.I want clear explanation about virtual method
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    there is no virtual method in Node.js. Node.js itself uses the request event to handle any incoming HTTP requests, independently of the requested URL.

    A "virtual method" is likely to be used by a routing middleware (such as Express.js) but since we cannot tell, which one you use, we cannot help further.

    Comment

    Working...