Closed Nick-Mazuk closed 2 years ago
In general, you don't need to assign a value, only to just return it. It's really only helpful if the variable name adds context. In this case, the name result doesn't, so there's no need to create the assignment.
result
In general, you don't need to assign a value, only to just return it. It's really only helpful if the variable name adds context. In this case, the name
result
doesn't, so there's no need to create the assignment.