tutup peringatan setelah 5 detik javascript

setTimeout(allertFunction, 5000); // time in milliseconds
//close allert code
Snowzin