-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Observable.from should handle "array-like" objects like arguments #1166
Comments
That's a horrible way to make a series of numbers. haha. Wouldn't users be better off using The better reason is so we can handle "array-like" types like
So you can do things like A better catch is that I don't think we have that result selector implemented. |
To fix this issue:
|
@Blesh yes, that's not a great example, and no, range won't do it. Instead, focus on array like objects such as any |
I think this is closable as of now. The only hanging issue is defined by the discussion here #1255 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In order to be compliant with RxJS v4, Rx.Observable.from is missing the following functionality which brings it on par with
Array.from
. The currentisArray
check is too literal and should only check if it has a.length
propertyAnd so does RxJS v4:
Filing this bug as I did not see it in the test suite as it is in RxJS v4
The text was updated successfully, but these errors were encountered: