运行代码
(Shift+Enter)
HTML教程
奔月教程(runoon.com)
Array.from()
从字符串中生成一个数组:
注意:
IE11 及其更早的浏览器版本不支持 from 方法。
运行结果