176
rated 0 times
[
178]
[
2]
/ answers: 1 / hits: 47444
/ 10 Years ago, thu, february 27, 2014, 12:00:00
Having a little trouble understanding what this does. If I have a string,
Using Mcdonalds
as an example, I do:
McDonalds.split().reverse().join();
What exactly am I doing?
Am I splitting each character (M c D o n a l d s)
, then reversing it (s d l a n o D c M)
then joining to get (sdlanoDcM)
? (Trying to see if I understand this right)
More From » join