creating different objects in node js

Solutions on MaxInterview for creating different objects in node js by the best coders in the world

showing results for - "creating different objects in node js"
Hannes
17 Mar 2019
1function Person(name) {
2    return {
3        sayHello: function () { alert('My name is: ' + name); }
4    };
5}
6
similar questions
queries leading to this page
creating different objects in node js