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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

15th Sep 2022, 10:51 AM
Mazing
3 Answers
+ 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
16th Sep 2022, 12:12 PM
Yasin Rahnaward
Yasin Rahnaward - avatar
+ 1
link please .
15th Sep 2022, 11:13 AM
Prashanth Kumar
Prashanth Kumar - avatar
+ 1
Please share the description of the task and add your code attempt.
15th Sep 2022, 8:53 PM
Ausgrindtube
Ausgrindtube - avatar