MCPcopy Create free account
hub / github.com/devin87/Q.js / alias

Function alias

node/Q.js:327–341  ·  view source on GitHub ↗

* 给原型方法或属性添加别名 eg:alias(Array,"forEach","each"); * @param {object} obj 对象 * @param {string|object} name 属性名称或对象 eg: 'forEach' | {forEach:'each'} * @param {string} aliasName 别名

(obj, name, aliasName)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

factoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected