Skip to content
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

Add externs for Array.prototype.find and Array.prototype.findIndex #1187

Merged
merged 2 commits into from Oct 6, 2015

Conversation

fredj
Copy link
Contributor

@fredj fredj commented Oct 6, 2015

No description provided.

@@ -1093,6 +1093,26 @@ Array.prototype.keys;
Array.prototype.entries;


/**
* @param {?function(this:S, T, number, !Array<T>): boolean} predicate
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we make this non-null? It doesn't look like there's a use case for passing null here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, fixed.

MatrixFrog added a commit that referenced this pull request Oct 6, 2015
Add externs for Array.prototype.find and Array.prototype.findIndex
@MatrixFrog MatrixFrog merged commit 8af5b90 into google:master Oct 6, 2015
@fredj fredj deleted the es6_externs branch October 6, 2015 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants