Skip to content

Instantly share code, notes, and snippets.

View deanshub's full-sized avatar

Dean Shub deanshub

View GitHub Profile
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)
},