0

Activate function using if

How can activate a function using if Exemple Function test() { What ever what ever } If (what ever what ever) And then activate that function here

23rd Nov 2018, 10:37 PM
Alexander R. Storr-Hansen
Alexander R. Storr-Hansen - avatar
1 Réponse
+ 5
//hey, try this function test(){ console.log("if statememt was true now try changing the condition to false");} if(true){ test();}
23rd Nov 2018, 11:12 PM
D_Stark
D_Stark - avatar