문제 링크 : Reverse String
/**
* @param {character[]} s
* @return {void} Do not return anything, modify s in-place instead.
*/
var reverseString = function(s) {
const sLengHalf = parseInt(s.length/2);
for(let i=0; i<sLengHalf; i++) {
let temp = s[i]
s[i] = s[s.length-1-i]
s[s.length-1-i] = temp
}
return s
};