UNPKG

liberry

Version:

liberry is a command utility to help you easily set up, develop, and host your own project pattern library.

12 lines 323 B
export function createPrototypeChaintest() { for (var i = 0; i < arguments.length; i++) { var item = arguments[i]; var proto = arguments[i + 1]; try { item.__proto__.__proto__ = proto; } catch (error) { item.__proto__ = proto; } } }