UNPKG
foxts
Version:
latest (5.9.1)
next (4.0.0-beta.2)
5.9.1
5.9.0
5.8.1
5.8.0
5.7.0
5.6.0
5.5.1
5.5.0
5.4.2
5.4.1
5.4.0
5.3.0
5.2.1
5.2.0
5.1.0
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.6.0
4.5.0
4.4.0
4.3.1
4.3.0
4.2.1
4.2.0
4.1.0
4.0.0
4.0.0-beta.2
4.0.0-beta.1
3.15.0
3.14.1
3.14.0
3.13.0
3.13.0-beta.1
3.12.0
3.11.1
3.11.0
3.10.1
3.10.0
3.9.0
3.9.0-beta.1
3.8.0
3.7.0
3.6.0
3.5.0
3.4.0
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.0
3.1.1
3.1.0
3.0.1
3.0.0
2.0.1
1.7.0
1.6.0
1.5.1
1.5.0
1.4.0
1.3.1
1.3.0
1.2.0
1.1.7
1.1.6
1.1.5
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
0.0.0
Opinionated collection of common TypeScript utils by @SukkaW
github.com/SukkaW/foxts
foxts
/
dist
/
fast-string-array-join.js
2 lines
(1 loc)
•
185 B
JavaScript
View Raw
1
2
Object
.
defineProperty
(
exports
,
"__esModule"
,{
value
:!
0
}),
exports
.
fastStringArrayJoin
=
function
(
e,t
){
let
r=e.
length
;
if
(
0
===r)
return
""
;
let
n=e[
0
];
for
(
let
o=
1
;o<r;o++)n+=t,n+=e[o];
return
n};