macro.js 102 B

12345
  1. 'use strict';
  2. module.exports = function macro(name, fn) {
  3. this.constructor.prototype[name] = fn;
  4. };