what's the returned result as below?
s = 'abcd';return s.split('x');
it'll return a null array or an undefined object?
an array with a single string element.
thanks a lot!
The page about the split method says:
When the string is empty, split returns an array containing one empty string, rather than an empty array.