Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98179623
surrogate-pairs.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 10, 18:28
Size
537 B
Mime Type
text/x-Algol68
Expires
Sun, Jan 12, 18:28 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23526744
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
surrogate-pairs.js
View Options
"use strict"
;
Object
.
defineProperty
(
exports
,
"__esModule"
,{
value
:
true
});
exports
.
fromCodePoint
=
String
.
fromCodePoint
||
function
(
astralCodePoint
){
return
String
.
fromCharCode
(
Math
.
floor
((
astralCodePoint
-
65536
)
/
1024
)
+
55296
,(
astralCodePoint
-
65536
)
%
1024
+
56320
)};
exports
.
getCodePoint
=
String
.
prototype
.
codePointAt
?
function
(
input
,
position
){
return
input
.
codePointAt
(
position
)}
:
function
(
input
,
position
){
return
(
input
.
charCodeAt
(
position
)
-
55296
)
*
1024
+
input
.
charCodeAt
(
position
+
1
)
-
56320
+
65536
};
exports
.
highSurrogateFrom
=
55296
;
exports
.
highSurrogateTo
=
56319
;
Event Timeline
Log In to Comment