+ 1
Is there another way of calling functions?
3 ответов
+ 2
You can also use any of the events..
onclick="somefunc()";
Or in an image or many other objects..
<img src="./someimage.png" onload="somefunc()" />
Their are many..
Or in variables
Var x = somefunc();
That will be covered in objects..
+ 1
setTimeout (my_function,1000)
0
Fb() or var x = fn; x