0
What is the result of converting Null to boolean in JavaScript.
Shortcircuiting
5 Answers
+ 3
It is always false to things without a value
let x = null ---- False
let x = 0 ---- False
let x = -0 ---- False
let x = '' (empty string) ---- False
let x ------ False
0
@MomchilSotirov, thank you
0
How about let's say you write a simple value statement like 1;
Is any anonymous memory location allocated?
0
I am just on the way of learning sooo i'm not pretty suređ
. I think not. So much as i know it is anonymous memory in loops.
0
OK, thanks