运行代码
(Shift+Enter)
HTML教程
奔月教程(runoon.com)
点击按钮填充 “Runoon” 到数组的最后两个元素。
点我
注意:
IE 11 及更早版本不支持 fill() 方法。
运行结果