reverse-string

v0.0.2arrow_drop_down
v0.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
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
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
No preview available
modifieddraft
chevron_left
chevron_right
reverseString (
str:string
) : string

reverses the given string

Example
reverseString('Hello world') // => "dlrow olleH"
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
Help and resources