Mar*_*iot 33

javascript中的任何字符串都可以使用该string.split函数进行拆分,例如

"foo:bar".split(/:/)
Run Code Online (Sandbox Code Playgroud)

其中split取作为参数或者一个正则表达式或文字串.