Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9343410
correct-is-regexp-logic.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
366 B
Subscribers
None
correct-is-regexp-logic.js
View Options
var
wellKnownSymbol
=
require
(
'../internals/well-known-symbol'
);
var
MATCH
=
wellKnownSymbol
(
'match'
);
module
.
exports
=
function
(
METHOD_NAME
)
{
var
regexp
=
/./
;
try
{
'/./'
[
METHOD_NAME
](
regexp
);
}
catch
(
error1
)
{
try
{
regexp
[
MATCH
]
=
false
;
return
'/./'
[
METHOD_NAME
](
regexp
);
}
catch
(
error2
)
{
/* empty */
}
}
return
false
;
};
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jul 4, 1:30 PM (5 d, 9 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3384405
Attached To
rDWAPPS Web applications
Event Timeline
Log In to Comment