JS Ajouter plus de texte à l'élément

document.getElementById("p").textContent += " This is the text from javascript.";

<p id ="p">This is the text from HTML.</p>
Prophitis