Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9343191
es.array.find-last-index.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
562 B
Subscribers
None
es.array.find-last-index.js
View Options
'use strict'
;
var
$
=
require
(
'../internals/export'
);
var
$findLastIndex
=
require
(
'../internals/array-iteration-from-last'
).
findLastIndex
;
var
addToUnscopables
=
require
(
'../internals/add-to-unscopables'
);
// `Array.prototype.findLastIndex` method
// https://github.com/tc39/proposal-array-find-from-last
$
({
target
:
'Array'
,
proto
:
true
},
{
findLastIndex
:
function
findLastIndex
(
callbackfn
/* , that = undefined */
)
{
return
$findLastIndex
(
this
,
callbackfn
,
arguments
.
length
>
1
?
arguments
[
1
]
:
undefined
);
}
});
addToUnscopables
(
'findLastIndex'
);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 1:20 PM (6 d, 52 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3308789
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment