0
How would I answer the boleean the practice exercise I can't do it even it have a solution it didn't work how can some one help
I need help about the boleean in the practice part of it
3 Respostas
+ 2
First of all you should know the following 5 falsy value which is considered as false in condition.
1. 0. //Zero
2. "" //Empty string
3. null
4. NaN
5. undefined
Second :
1 :
c=(a&&b) , in and logical operation if the first value is not a falsy value then it goes to check the second one.
2:
C=(a||b), in or logical operation if the first value is not a falsy value it will not check the second value , whenever the first value is a falsy value the program will check the second one.
https://developer.mozilla.org/en-US/docs/Glossary/Falsy
https://itnext.io/javascript-type-coercion-implicit-conversion-and-why-to-use-and-avoid-ea9a38ecc777?gi=b3a6e40d570f
+ 1
link please .
+ 1
Please share the description of the task and add your code attempt.