I have the following code, which creates two variables and call a function that displays an alert, but I want the function check_abertura () to execute after 3 seconds, how to do this?
var valor_min = 20;
var valor_max = 40;
verifica_abertura(valor_min, valor_max);
function verifica_abertura(valor_min, valor_max){
alert(valor_min);
alert(valor_max);
}