idiombook
8/5/2017 - 1:30 PM

[language: JavaScript, example: NPLTraining - 00]

[language: JavaScript, example: NPLTraining - 00]

let target = "stressed"

function solve() {
    console.log(reverse(target));
}

function reverse(string) {
    return string.split("").reverse().join("");
}

solve()