3 lines
66 B
JavaScript
3 lines
66 B
JavaScript
var a = "cat".split("");
|
|
a.reverse();
|
|
print(a.join("")); // tac
|