Skip to content

Instantly share code, notes, and snippets.

@kosich
Created May 23, 2019 12:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kosich/d341fbc804a02270df1550702c7c52c1 to your computer and use it in GitHub Desktop.
Save kosich/d341fbc804a02270df1550702c7c52c1 to your computer and use it in GitHub Desktop.
startWith vs endWith bugreport
const { rxObserver } = require('api/v0.3');
const { of } = require('rxjs');
const { startWith, endWith } = require('rxjs/operators');
of(':').pipe(
startWith('abc'),
endWith('def')
)
.subscribe(rxObserver());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment