Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add Array.prototype.findLast and Array.prototype.findLastIndex #48829

Copy link
Copy link
@yume-chan

Description

@yume-chan
Issue body actions

lib Update Request

Configuration Check

My compilation target is ES5 and my lib is ESNext.

Missing / Incorrect Definition

Missing Array.prototype.findLast and Array.prototype.findLastIndex

Sample Code

[3, 2, 1].findLast(x => x > 2);

Documentation Link

Proposal: https://tc39.es/proposal-array-find-from-last/ (currently stage 3 4)
Can I Use: https://caniuse.com/mdn-javascript_builtins_array_findlast (Chrome and Safari already shipped it without flags)

Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptThe issue relates to the different libraries shipped with TypeScriptEffort: CasualGood issue if you're already used to contributing to the codebase. Harder than "good first issue".Good issue if you're already used to contributing to the codebase. Harder than "good first issue".Fix AvailableA PR has been opened for this issueA PR has been opened for this issueHelp WantedYou can do thisYou can do this

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.