Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Docs: fix wrong max-depth example (fixes #11991) #12358
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?
kaicataldo left a comment •
Thank you for contributing! For clarity's sake, can we also update the correct example? I think the addition of the function expression makes it less clear why this is correct versus the example you updated. I think it would be best to use the same code sample for the updated incorrect example but with the most nested (the one labeled "Nested 5 deep") removed.