setTimeout(function () { console.log('Execute later after 1 second') }, 1000);Code language: JavaScript (javascript)