batteries-included

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i batteries-included

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • lightspeedc