UNPKG

socketcluster-client

Version:
11 lines (10 loc) 255 B
module.exports.create = (function () { function F() {}; return function (o) { if (arguments.length != 1) { throw new Error('Object.create implementation only accepts one parameter.'); } F.prototype = o; return new F(); } })();