This assignment is, in my opinion, using some weird terminology, it seems to be sending mixed signals. You can not override a value and not change it. Overriding implies reassignment.
Add a local variable to myOutfit function to override the value of outerWear with “sweater”.
Do not change the value of the global outerWear
Now i will say I’m having a bit of a hard time coming up with a better description for the steps to take, so there is that. For one, it’s just difficult and second, it’s hard to know how exact a terminology to use at this point in the learning process. But i think it’s important to get the correct terminology in place as soon as possible, otherwise, it makes technical communication difficult.
Here is one version i came up with.
Declare a new local variable
outerWear scoped to the
myOutfit function, assign it the string
"sweater" and return it from the function.