Hire Our Expert Programmer & Technical Writer To Do Your Capstone Project
+1 vote
in Software Engineering by (user.guest)

1 Answer

+1 vote
by (user.guest)
selected by (user.guest)
 
Best answer

we can reverse a string using reverse() through the following way;

Let str = "Hello people";

const revStr = str.spilit(" ").reverse().join(" ");

console.log(revStr);


Related questions

Welcome to CPENTalk.com

Disclaimer: Every user is solely responsible for anything that he/she posts or uploads on CPENTalk.
...