Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9345720
function-uncurry-this.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
410 B
Subscribers
None
function-uncurry-this.js
View Options
var
NATIVE_BIND
=
require
(
'../internals/function-bind-native'
);
var
FunctionPrototype
=
Function
.
prototype
;
var
bind
=
FunctionPrototype
.
bind
;
var
call
=
FunctionPrototype
.
call
;
var
uncurryThis
=
NATIVE_BIND
&&
bind
.
bind
(
call
,
call
);
module
.
exports
=
NATIVE_BIND
?
function
(
fn
)
{
return
fn
&&
uncurryThis
(
fn
);
}
:
function
(
fn
)
{
return
fn
&&
function
()
{
return
call
.
apply
(
fn
,
arguments
);
};
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 3:29 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3305159
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment