7 kyu

Extending JavaScript Objects: Reverse String

546 of 550arnisritins

Description:

Unfortunately, there's no a .reverse() method for the JavaScript String object.

Your task is to extend JavaScript String object, so you can reverse strings just like this:

'Hello, World!'.reverse();

The method should return:

'!dlroW ,olleH'
Strings
Fundamentals

Stats:

CreatedOct 27, 2016
PublishedOct 27, 2016
Warriors Trained1081
Total Skips15
Total Code Submissions1293
Total Times Completed550
JavaScript Completions546
CoffeeScript Completions17
Total Stars13
% of votes with a positive feedback rating90% of 138
Total "Very Satisfied" Votes114
Total "Somewhat Satisfied" Votes20
Total "Not Satisfied" Votes4
Total Rank Assessments10
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • arnisritins Avatar
  • nbeck Avatar
  • user5036852 Avatar
Ad