Closed fengshuo closed 6 years ago
Question 2
in which environment did you get 1object
instead of 1undefined
? I tried to run this snippet on Chrome, Firefox, Safari and node.js (all from the console), and in jsfiddle
Question 12
Thanks, it's interesting, I didn't know about that! It seems to me that it's just a way of pretty printing the undefined
, check it out:
> trees[3]
undefined
> typeof trees[3]
"undefined"
Question 15 I didn't understand your comment
closing for now. @fengshuo if you can explain what you meant in your comment to Question 15, I will reopen the task and fix whatever the issue is.
Question 2
I got
1object
instead of1undefined
, might be related to this issueQuestion 12
Question 15
z should be assign the value of y which is
undefined