Explain why +[] == 0 give output 'true' in Javascript?
Please, check example.
+[] == 0 ? alert(true) : alert(false);And also check.'1+[+[]]' give output '10'
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
No comments:
Post a Comment