packages/privatize/index.js
function (fn, name) {
  function proxiedFn() {
    'use strict';
    var fields = privates.get(this); // jshint ignore:line
    return fn.apply(fields, arguments);
  }

  Object.defineProperty(proxiedFn, 'name', {
    value: name,
    configurable: true
  });

  return proxiedFn;
}
function (fn, name) {
  function proxiedFn() {
    'use strict';
    var fields = privates.get(this); // jshint ignore:line
    return fn.apply(fields, arguments);
  }

  Object.defineProperty(proxiedFn, 'name', {
    value: name,
    configurable: true
  });

  return proxiedFn;
}
function ( fn , name ) { function proxiedFn ( ) { 'use strict' ; var fields = privates . get ( this ) ; // jshint ignore:line return fn . apply ( fields , arguments ) ; } Object . defineProperty ( proxiedFn , 'name' , { value : name , configurable : true } ) ; return proxiedFn ; }
WeakMap works in IE11, node 0.12
WeakMap works in IE11 node 0 . 12