-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmod.js
More file actions
4 lines (4 loc) · 408 Bytes
/
mod.js
File metadata and controls
4 lines (4 loc) · 408 Bytes
1
2
3
4
// Copyright (c) 2026 The Stdlib Authors. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0
/// <reference types="./mod.d.ts" />
var e=/[\uDC00-\uDFFF]/,t=/[\uD800-\uDBFF]/;function r(r){var u,a,f,F,n;for(u=r.length,a="",n=0;n<u;n++)if(f=r[n],t.test(f)){if(n===u-1){a=f+a;break}F=r[n+1],e.test(F)?(a=f+F+a,n+=1):a=f+a}else a=f+a;return a}export{r as default};
//# sourceMappingURL=mod.js.map