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