0

If I have a function how do i execute The function in a IF statement

1st Jan 2020, 10:37 AM
erkan300pro
erkan300pro - avatar
3 Answers
+ 3
if (condition) { function_name(additional_arguments); }
1st Jan 2020, 10:40 AM
Seb TheS
Seb TheS - avatar
0
function () { console.log("hello"); } () ;
1st Jan 2020, 2:36 PM
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³
šŸ‡®šŸ‡³VivekšŸ‡®šŸ‡³ - avatar
0
Thx
1st Jan 2020, 2:44 PM
erkan300pro
erkan300pro - avatar