Listerner Content carregado JS

window.addEventListener('DOMContentLoaded', (event) => {
    console.log('DOM fully loaded and parsed');
});
Doubtful Dolphin