6 lines
117 B
JavaScript
6 lines
117 B
JavaScript
var chars = require('./chars');
|
|
|
|
module.exports = function reverse(str) {
|
|
return chars(str).reverse().join('');
|
|
};
|