reverse-string
v0.0.2arrow_drop_downv0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
1
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
7 years ago
SIZE
489 B
reverses the given string
1 contributor
Like
Install reverse-string as a package?
Copied
npm i @bit/tomlandau.simple-js.global.reverse-string
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example modifieddraft
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
No preview available
chevron_left
chevron_right
reverseString (
str:
) : string
string
reverses the given string
Example
Argument
str:
string
the string
Returns
string
the reversed string
Test Summary
#reverseString() should return “!dlrow olleH” if “Hello world!” is passed | Pass |
#reverseString() should return “54321” if “12345” is passed | Pass |