batteries-included
v0.0.4
Published
batteries included
Downloads
7
Readme
batteries-included
small function library.
FUNCTIONS:
Function.prototype.bind(ctx, args): function for ie8
isPromise(promise): bool
isIterator(iter): bool
isIterable(iter): bool
makeArrayFromIterator(iter): []
defProp(obj, prop, propDesc)
Object.defineProperty
setConst(obj, prop, val)
setValue(obj, prop, val)
getProto(obj): object
defGetter(obj, prop, getter)
Function.prototype.name: string
LICENSE:
MIT