[SOLVED] Problem With Right Answer: Global/Local Scope in Functions

[SOLVED] Problem With Right Answer: Global/Local Scope in Functions
0.0 0

#1

EDIT
Sorry, can’t delete the topic.
It was a typo :roll_eyes:

Hey people,
I’m putting the right answer, the output is “Sweater”, but it’s not validating the challenge.
Please, help?

** My Code **

** My browser information **

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.168 Safari/537.36.

** Link to the challenge **


#2

Look very carefully at the spelling (case) of the value you have assigned to the function’s local variable named outerWear. Remember that JavaScript is case-sensitive, so “Hello” is different than “hello”.