Is there another way of calling functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is there another way of calling functions?

10th Aug 2016, 1:11 PM
Richard Kumi Aduse-Poku
Richard Kumi Aduse-Poku - avatar
3 Answers
+ 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..
23rd Aug 2016, 8:31 AM
fjlj
+ 1
setTimeout (my_function,1000)
14th Aug 2016, 9:26 AM
Cocoa
Cocoa - avatar
0
Fb() or var x = fn; x
10th Aug 2016, 1:44 PM
pritee