If the function parameter has the same name as the external variable, then inside the function this parameter has a local scope and does not overwrite the external variable. Simply put, if a function variable has the same name as a function parameter or a local light green block, an error may appear that will not be easy to find.
1 Like