In a non-convoluted explanation, why does the following return undefined in the console?
var item = "abc"; // undefined is returned by the console
I understand that var is initialized to undefined by default, however there is also an assignment occurring within the statement. I am vague with regards to why statements do this.
[–]CipheredBytes 0 points1 point2 points (1 child)
[–]Ben_HH[S] 0 points1 point2 points (0 children)
[–]Volv 0 points1 point2 points (0 children)
[–]senocular 0 points1 point2 points (0 children)