[jsinterp] TODOs in JSStringPrototype#_split
This commit is contained in:
parent
37d63066dd
commit
80608898f5
@ -60,6 +60,8 @@ class JSStringPrototype(JSObjectPrototype):
|
||||
return 'string slice'
|
||||
|
||||
def _split(self, sep):
|
||||
# TODO fix according to spec
|
||||
# TODO support JSRegexp for sep
|
||||
if sep == '':
|
||||
return list(self.value)
|
||||
return self.value.split(sep)
|
||||
|
Loading…
x
Reference in New Issue
Block a user