Notes of Course
1.
"Undefined, null and empty values"
" var Jane Smith console.log(Jane Smith); "
Above example is given at that topic for the result "undefined" but it doesn't work as wanted.
Instead it outputs "undefined" with that input: " var JaneSmith console.log(JaneSmith); "
The only difference between them is the space used between 'Jane' & 'Smith'. Why is that?
2.
"var" Problem
What is the problem with the last part, when we name the function a "var", it should work. Code works until then, but after naming it with a variable it says "undefined".

Yorumlar
Yorum Gönder