UNPKG
cpt-waffle-lotide
Version:
latest (1.0.0)
1.0.0
LoTide in Typescript
github.com/vasiliy-klimkin/lotide-ts
vasiliy-klimkin/lotide-ts
cpt-waffle-lotide
/
dist
/
reverse.ts
6 lines
(4 loc)
•
116 B
text/typescript
View Raw
1
2
3
4
5
6
const
reverse = (
string
:
string
):
string
=> {
return
string
.split(
''
).reverse().
join
(
''
); } export
default
reverse;