Hey, the return in the third line is unnecessary because when the code stumbles upon a return what is does is that it returns the value and then stops execution. Which in this case is the function expression. So the third line never actually gets run. it just returns the function expression and says 'alright my job here is done'. hope this was helpfull in some way :-).
Hey, the return in the third line is unnecessary because when the code stumbles upon a return what is does is that it returns the value and then stops execution. Which in this case is the function expression. So the third line never actually gets run. it just returns the function expression and says 'alright my job here is done'. hope this was helpfull in some way :-).
You don't need the 'return' in the third line ('return n+a;'), do you?
I know its a year later but you are missing the s on your bottles
I tried that and it didn't work for me.