function alertFunc(){
  alert("Hello world!")
}
window.setInterval(alertFunc, 3000)
