// NATIVE FUNCTION
var reverseString = function(s) {
return s.reverse();
};
// TWO POINTERS
let reverseString = function(s) {
let left = 0, right = s.length - 1;
while (left < right) {
let temp = s[left];
s[left] = s[right];
s[right] = temp;
++left;
--right;
}
return s.join('');
};