comment effacer innerhtml en javascript

//Using jQuery.
$('.myElement').empty();

//Using Vanila JS
document.querySelector('.myElement').innerHTML = '';
Samuel Abusa Kennedy