function Test (x) { Test.prototype.before&&Test.prototype.before(x) console.log('construct') } Test.prototype.before = function (x) { console.log(x); }
点赞 2

相关推荐

点赞 评论 收藏
分享
点赞 评论 收藏
分享
牛客网
牛客企业服务