문제) www.codewars.com/kata/550f22f4d758534c1100025a/train/javascript Codewars: Achieve mastery through challenge Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential. www.codewars.com 내가 푼 답) function dirReduc(arr){ let arrStr = Array.from(arr).map(elem => elem.toUpperCase()).join('_'); const direcRegex = /(NORTH_SOUTH)|(S..