Last active
January 29, 2017 10:32
-
-
Save cyrilletuzi/1ad9b5b45e0dbbc8aa7c93783c32e33e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
someElement.textContent; /* Read */ | |
someElement.textContent = `New content`; /* Write */ | |
someElement.innerHTML; /* Read */ | |
someElement.innerHTML = `New content`; /* Write */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment