Z
Z
ZakkMalin2019-07-02 17:58:20
JavaScript
ZakkMalin, 2019-07-02 17:58:20

Why is ChromeDevtools undefined?

The question is very noob
Why does the interpreter display undefined on the next line after declaring variables:
5d1b715ccd0ba358948022.png
I tried to declare a variable and set a value for it, after pressing Enter, undefined popped up
After that I decided to declare a variable, but do not put anything there to check, the answer is also undefined
It seemed to me that in in the first case, nothing should be displayed, and the second variable should be NULL
Or is NULL only needed to explicitly indicate that there was never anything in the variable?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question