
Asked in Virtusa Software Services
JavaScript coding questions. Reverse a string. Write a function that can find length of argument.
Neelam Hargunani
2y
function reverseStr(str){
str = str+'';
return str.split('').reverse().join("").length;
}
console.log(reverseStr("neelamhargunani"));
Help your peers!
Add answer anonymously...
Interview Questions Asked to React Developer at Other Companies
Top Skill-Based Questions for Virtusa Software Services React Developer
Web Development Interview Questions and Answers
250 Questions
JavaScript Interview Questions and Answers
250 Questions
Algorithms Interview Questions and Answers
250 Questions
Redux Interview Questions and Answers
20 Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

