+ 4
Which is more efficient from below?
var abc = document.getElementById(""); for(a=b) for(a=b) var abc = document.getElementById("");
2 ответов
+ 4
reason please
+ 2
the first one.
Your for loop is faulty but still the second one is lower because it needs to find your element every time.