javascript timeout ohne funktion code example Example: javascript settimeout window.setTimeout(()=>{ console.log('1 second passed!'); }, 1000);