Errors in tutorials and other learning resources can be very confusing to people trying to learn something new. If they already understood the syntax and everything well enough to know that it was an error in the tutorial, they probably wouldn't be reading the tutorial in the first place.
If a tutorial does something in a way different from how you would have thought, or that doesn't make sense given your current understanding, usually you assume there's a good reason. (And that your current understanding might be too limited.)
Clearing it up with a SO question is certainly useful on the face of it. A question can still be a bad question if it's phrased poorly, or other potential problems, of course. I think the question you linked does a fairly good job. It avoids any long rambling speculation, and explains exactly where they found this piece of code that they don't understand and which appears to be a syntax error.
Errors in external resources are reasonably likely to lead to other people have exactly the same question in the future, so the long-term value of the question is usually a bit higher than most beginner-mistake question.
If/when the external resource gets corrected (due to someone letting the author know, or fixing a wiki, or w/e), then the question on SO becomes obsolete. This is the ideal situation.
Errors in external resources aren't always syntax errors, so trying out examples might lead to valid code that doesn't do what it's supposed to. Then it's even more puzzling, because you're left trying to figure out how you messed up when trying a code snippet.
Unless we want to reject all beginner questions that are trivial / boring for people that already know the answers, I don't see a good justification for excluding these.
something
variable and asometing
variable by mistake, so the whole premise of the question is undermined and the question is redundant. This isn't really that kind of scenario.