Closed getmetorajesh closed 6 years ago
function User(name) { this.name = name || "JsGeeks"; }
var person; var foo = User("xyz") // should be new User("xyz")
thanks!
function User(name) { this.name = name || "JsGeeks"; }
var person; var foo = User("xyz") // should be new User("xyz")