How do you set up the name of what your act is in javascript??? Pls help, im new and have no idea | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do you set up the name of what your act is in javascript??? Pls help, im new and have no idea

31st Dec 2016, 4:32 PM
DragonBorn567
4 Answers
+ 1
What do you mean by 'act'? If you are referring to function, it is simply function randomName() { // code }
31st Dec 2016, 6:34 PM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
alert("Hello") ;
1st Jan 2017, 1:18 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
0
I mean like a alert box, how would you set it up to make the alert box when you run it
31st Dec 2016, 7:10 PM
DragonBorn567
0
OK thanks
1st Jan 2017, 1:56 AM
DragonBorn567