function confirmar(){if(confirm("¿Realmente quieres borrar el usuario?")) { //condición SI}else{//condicio NO}}