@lamnguyen_agilityio/reverse-sentence
v1.0.0
Published
Reverses a sentence.
Downloads
3
Readme
reverse-sentence
Reverses the words of a sentence.
Install
npm install @lamnguyen_agilityioreverse-sentence
API
reverse(sentence) => String
Example
const reverseSentence = require("reverse-sentence");
const sentence = "Hello Beth!";
const reversed = reverseSentence(sentence);
console.log(reversed) // Beth! Hello