Skip to content

Improve documentation of List.indexOf and lastIndexOf #3912

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

Closed
whesse opened this issue Jun 28, 2012 · 3 comments
Closed

Improve documentation of List.indexOf and lastIndexOf #3912

whesse opened this issue Jun 28, 2012 · 3 comments
Assignees
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
Milestone

Comments

@whesse
Copy link
Contributor

whesse commented Jun 28, 2012

The documentation of indexOf says it "looks for [element] in the list". I can't tell from this if it is looking for this exact object in the list, or looking for something that compares equal to that object. This is releated to issue #3711, which makes it clear that we are comparing to the object with ==.

@lrhn
Copy link
Member

lrhn commented Jun 28, 2012

Thanks.
There are lots of methods in the library that could use more precise descriptions.
Feel free to keep posting bugs when you see them.


Set owner to @lrhn.
Added Accepted label.

@lrhn
Copy link
Member

lrhn commented Sep 18, 2012

Added this to the M1 milestone.

@lrhn
Copy link
Member

lrhn commented Sep 25, 2012

Added Fixed label.

@whesse whesse added Type-Defect area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. labels Sep 25, 2012
@whesse whesse added this to the M1 milestone Sep 25, 2012
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries.
Projects
None yet
Development

No branches or pull requests

2 participants