Docs: Update ambiguous for...in example for guard-for-in #10114
What is the purpose of this pull request? (put an "X" next to item)
[x] Documentation update
What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?