module.exports = function(input) {
    return ['function', 'object', 'array']
        .indexOf(typeof input) > -1 && input.default === undefined ? 
             Object.defineProperty(input, "default", {value : input, enumerable : false}) : void 0;
}
module.exports = function(input) {
    console.log(input);
    return ['function', 'object', 'array']
        .indexOf(typeof input) > -1 && input.default === undefined ? 
             Object.isFrozen(input) ? input.default = input : Object.defineProperty(input, "default", {value : input, enumerable : false}) : void 0;
}
Check for frozen object in polyfillNonStandardDefaultUsage (#850)