This would definitely work, but seems a little dangerous to be modifying an external library’s…
Jz
1

It’s not dangerous, and you could find this approach in the Rx official docs. https://github.com/ReactiveX/rxjs/blob/master/doc/operator-creation.md

You are not modify anything, just extending. 
Also, it’s a method that related to observables and could not affect native JS “things.”

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.