#Hey, does someone can help me to understand why this gives that error pls? TypeError [ERR_INVALID_CA
1 messages · Page 1 of 1 (latest)
let's try but it is a function, I need () then 
ok I works, thank you.. I don't really understand why but I'll search for the explication
Just to note, if you do setTimeout(someFunc(), 10) the someFunc() is actually being ran there and returning whatever its meant to, that's why it isn't working.
i'll try to tell you here why.functions are variables like anything else.by doing () you're calling it.when using setTimeout you don't want to call it
my_func() won't be a function until you explicitly return a function inside it