* stream: Removed `valueOf` & `toString` methods (fixes #2150) * Update stream documentation
This commit is contained in:
parent
4823369abe
commit
e1a50890e9
5 changed files with 9 additions and 34 deletions
|
|
@ -504,13 +504,6 @@ var serialized = JSON.stringify(value)
|
|||
console.log(serialized) // logs 123
|
||||
```
|
||||
|
||||
Streams also implement a `valueOf` method that returns the value of the stream.
|
||||
|
||||
```javascript
|
||||
var value = stream(123)
|
||||
console.log("test " + value) // logs "test 123"
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Streams do not trigger rendering
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue