chardet/util.js

6 lines
144 B
JavaScript
Raw Normal View History

module.exports.inherits = function(a, b) {
for (var key of Object.keys(b.prototype)) {
a.prototype[key] = b.prototype[key];
}
}