Created
September 24, 2014 06:04
-
-
Save laser/dc4594ca1cfc766bf319 to your computer and use it in GitHub Desktop.
combinator erro
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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