Skip to content

Instantly share code, notes, and snippets.

@laser
Created September 24, 2014 06:04
Show Gist options
  • Save laser/dc4594ca1cfc766bf319 to your computer and use it in GitHub Desktop.
Save laser/dc4594ca1cfc766bf319 to your computer and use it in GitHub Desktop.
combinator erro
var streamC = streamB.flatMap(function() {
var x = undefined;
x.foo(); // undefined is not a function
});
streamC.onError(function(err) {
// does not catch 'undefined is not a function'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment