Simple Node.js templates
cupdir
3,032 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';
}
Press desired key combination and then press ENTER.
code error ??
1
2
3
4
5
var world = new World;
console.log(world.say());
Press desired key combination and then press ENTER.
Advanced usage
If you want a more complex example (external libraries, viewers...), use the Advanced Node.js template
Suggested playgrounds
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content