i grant you that + over comma is not a massive deal here. but also
- `print` is not a statement, and it doesn't only output variables
- "text" is not really a term, and "combine text and a variable" is basically mad libs
- that's an operator, not a character
Conversation
Using innerHTML doesn't work at all if you enable strict Trusted Types since it's one of the XSS sink APIs. If anything they should have a section near the end covering dangerous and legacy APIs including that one and explain why not to use it and the safer alternatives.
If only microsoftedge.github.io/edgevr/posts/e was part of what was taught to new developers, i.e. use the structured DOM APIs and avoid ever converting text to HTML except when interacting with legacy libraries or APIs, and only do that begrudgingly.
2


