Prerequisites
Version
5.1, 7.0, 7.1, 7.2, Preview version
Link to affected document
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_Functions?view=powershell-7.2
Description of the documentation error
Many languages have a feature called function hoisting, where a function definition is "hoisted" to the top of the scope so that you may place calls to that function before its definition.
By contrast, PowerShell requires placing function definitions before calls to these functions, which constitutes a pitfall for users coming from other languages.
Suggested fix
Amend the "Long description" to describe this pitfall.