function Test() { } Test.prototype.name = "123"; Test.prototype.value = "123"; Test.prototype.getInfo = function() { }