By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,044 Members | 1,296 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,044 IT Pros & Developers. It's quick & easy.

why using virtual in javascript

P: 1
I am learner of nodejs.In nodejs using model contains virtual method.I want clear explanation about virtual method
Apr 12 '16 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
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.
Apr 12 '16 #2

Post your reply

Sign in to post your reply or Sign up for a free account.