Closed dotkrnl closed 10 years ago
use for (var index = 0; index < scripts.length; index++) instead of for (item in scripts) on NodeList. 不应在 NodeList 上使用 for .. in .. 方法。
for (var index = 0; index < scripts.length; index++)
for (item in scripts)
use
for (var index = 0; index < scripts.length; index++)
instead offor (item in scripts)
on NodeList. 不应在 NodeList 上使用 for .. in .. 方法。