Simple Node.js templates

cupdir
979 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

code context issues

1
2
3
4
var World = function(){}
World.prototype.say = function(){
return 'hello';
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

code error ??

1
2
3
4
var world = new World;
console.log(world.say());
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Advanced usage

If you want a more complex example (external libraries, viewers...), use the Advanced Node.js template

Open Source Your Knowledge: become a Contributor and help others learn. Create New Content