The biggest difference is that the second operator invokes a animateImage()global estimate .
This can lead to problems if
animateImage not located in a global areaanimateImage must access variables that are not in the global scope
eg. below will not be :
function foo() {
var answer = 42;
function bar() {
alert(answer);
}
setTimeout('bar()', 1000);
}
foo();
, ;)
, , "", eval .