コードは次のようになります
function Scripts() {this.FindById = function (id) {
this.FindById.constructor.prototype.value = function () {
return document.getElementById(id).value;
}}}
var Control = new Scripts();
今私がControl.FindById( "T1")。value()と言うとき。textInput( "T1")の値を取得できません。