Created
June 6, 2019 10:46
-
-
Save deanshub/d370d5f947fb30effe2d0a990f24e26d to your computer and use it in GitHub Desktop.
This file contains 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
const {range} = require('rxjs') | |
const {filter, map, take, toArray} = require('rxjs/operators') | |
export default { | |
odd: function(value) { | |
return filter((x)=>x%2) | |
}, | |
get1to10: function() { | |
return range(1, 10) | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment