Multiple ChoiceIntermediate 30s
textContent safety
Choose the best answer for: textcontent safety
Options
- 1Parses the string as real markup
- 2Behaves just like innerHTML does
- 3Writes text less safely than it
- 4Sets plain text (XSS-safe)
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.