Simple Node.js templates
cupdir
3,005 views
Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
code context issues
1
2
3
4
5
var World = function(){}
World.prototype.say = function(){
return 'hello';
}
Enter to Rename, Shift+Enter to Preview
code error ??
1
2
3
4
5
var world = new World;
console.log(world.say());
Enter to Rename, Shift+Enter to Preview
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