prop.toString method
This commit is contained in:
parent
7227cc546f
commit
3d02aeae36
1 changed files with 6 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ function initStream(stream, args) {
|
|||
stream.constructor = createStream
|
||||
stream._state = {id: guid++, value: undefined, error: undefined, state: 0, derive: undefined, recover: undefined, deps: {}, parents: [], errorStream: undefined, endStream: undefined}
|
||||
stream.map = map, stream.ap = ap, stream.of = createStream
|
||||
stream.valueOf = valueOf, stream.toJSON = toJSON
|
||||
stream.valueOf = valueOf, stream.toJSON = toJSON, stream.toString = valueOf
|
||||
stream.run = run, stream.catch = doCatch
|
||||
|
||||
Object.defineProperties(stream, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue