Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
reverse an array of string - fundamentals
Liliana797979
Jun 2nd, 2021
146
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.18 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
reverseAnArrayOfStr
(
arr
)
{
let result
=
[
]
for
(
let i
=
arr.
length
-
1
;
i
>=
0
;
i
--
)
{
result.
push
(
arr
[
i
]
)
;
}
console.
log
(
result.
join
(
' '
)
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Make $200 in 15 minutes 5
JavaScript | 35 sec ago | 0.07 KB
FREE BTC GUIDE P
JavaScript | 35 sec ago | 0.07 KB
✅ MAKE $12OO IN 10 MIN W
JavaScript | 53 sec ago | 0.07 KB
Make $200 in 15 minutes X
JavaScript | 1 min ago | 0.07 KB
Make 1500$ in 20 MIN [Method] Q
JavaScript | 1 min ago | 0.07 KB
✅ MAKE $12OO IN 10 MIN 3
JavaScript | 2 min ago | 0.07 KB
FREE BTC GUIDE 1
JavaScript | 2 min ago | 0.07 KB
Make 1500$ in 20 MIN [Method] 3
JavaScript | 2 min ago | 0.07 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!