WICG / observable

Observable API proposal
https://wicg.github.io/observable/
Other
563 stars 13 forks source link

`drop` should probably be `skip`. #24

Closed benlesh closed 1 year ago

benlesh commented 1 year ago

I've never seen skip called drop before. I'm not completely against it, but I do find it odd. Is there a precedent that's being followed there?

domfarolino commented 1 year ago

This was initially adopted here to stay consistent with the TC39 iterator helpers proposal: https://tc39.es/proposal-iterator-helpers/#sec-iteratorprototype.drop.

benlesh commented 1 year ago

Quite right, I missed that. It's fine.