I was playing around with the \"setTimeout\" function. This code runs like expected:
function myFunction() { console.log(\'test\'); setTimeout(myFunction
myFunction() calls the function immediately and passes its return value to setTimeout to be called later (except its return value is undefined, which isn't a function (or a string), so that is pointless).
myFunction()
setTimeout
undefined