Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 468 Bytes

reverse.md

File metadata and controls

32 lines (20 loc) · 468 Bytes

strings.reverse

reverse(string)

Reversed the characters in a string

Arguments

  1. string (string): input string

Returns

(string): input string reversed

Example

const result = strings.reverse('This string will be reversed');
console.log(result);
> desrever eb lliw gnirts sihT