It results undefined because you have initialized the variable 'x' already but haven't defined the variable with any value. This is why it prints out undefined.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
It results undefined because you have initialized the variable 'x' already but haven't defined the variable with any value. This is why it prints out undefined.