Animate your
code
Bring code blocks to life with smooth transitions, multiple states, and elegant motion. Built for developers who care about presentation.
step 1 of 4
transform.ts
function
transform
(
data
:
string
[]
)
{
const
result
=
[]
;
for
(
const
item
of
data)
{
if
(item
.
length
>
0
)
{
result
.
push
(item
.
trim
()
.
toLowerCase
())
;
}
}
return
result
;
}
const
output
=
transform
([
" Hello "
,
"World "
,
""
])
;
console
.
log
(output)
;