<html>
<body>
<h1>JavaScript 数组</h1>
<p>from() 方法从具有 length 属性或可迭代对象的任何对象返回 Array 对象。</p>
<p id="demo"></p>
<script>
const myArr = Array.from("ABCDEFG");
document.getElementById("demo").innerHTML = myArr;
</script>
<p>Internet Explorer 不支持 from() 方法。</p>
</body>
</html>