Skip to content

Commit

Permalink
Merge pull request wzhouwzhou#25 from romellogoodman/reverse-sentence
Browse files Browse the repository at this point in the history
Reverses the sentence.
  • Loading branch information
kannagikazuko authored Oct 15, 2018
2 parents 5624e56 + 846eecb commit 9dd0525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascript/reverse_sentence.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
const reverse = str.split(' ').reverse().join(' ');

0 comments on commit 9dd0525

Please sign in to comment.