Skip to content

Instantly share code, notes, and snippets.

@kellegous
Last active December 14, 2015 04:29
Show Gist options
  • Save kellegous/5028986 to your computer and use it in GitHub Desktop.
Save kellegous/5028986 to your computer and use it in GitHub Desktop.
node.innerText
"lions, tigers"
node.textContent
"lions,\ntigersand bears"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment