3 ms·
For people not being able to recreate this is because he doesn't mean x = "a" he means x = "yay" with y being asterisks. So x = "yay" x.split("y") => ["", "
by jordsmi 12y ago
For people not being able to recreate this is because he doesn't mean x = "a" he means x = "yay" with y being asterisks.
So
x = "yay"
x.split("y")
=> ["", "a"]