You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a new feature in 3.0 (not yet documented) called use that lets you extend the stream prototype. To allow top-level functions to create streams using the correct prototype, we bind the top-level object to the function's this reference.
Top-level functions must use this when constructing streams from scratch in order to be compliant. of doesn't do that.
The text was updated successfully, but these errors were encountered:
There's a new feature in 3.0 (not yet documented) called use that lets you extend the stream prototype. To allow top-level functions to create streams using the correct prototype, we bind the top-level object to the function's
this
reference.Top-level functions must use
this
when constructing streams from scratch in order to be compliant.of
doesn't do that.The text was updated successfully, but these errors were encountered: