Quiz · Operators and type conversion · lesson 9 of 14Quiz — falsy valuesWhich values are falsy in JavaScript, and what does !!x do?[A]The 8 falsy values are false, 0, -0, 0n, "", null, undefined and NaN; all others are truthy, even "0" and []. !!x applies ! twice and turns any value into true or false, like Boolean(x).[B]The falsy values are false, 0, "0", "", null and undefined; the string "0" is falsy because it holds the digit zero, like the number 0. !!x gives back x unchanged, since the two ! cancel each other out.[C]Only false, null and undefined are falsy; numbers and strings are always truthy, even 0 and "". !!x turns the value into a number instead: 1 when the value is truthy and 0 when it is falsy.[D]The falsy values are false, 0, "", null, undefined, NaN and the empty array [], since it holds nothing. !!x turns the value into the string "true" or "false".Subscribe to take the courseThe course is free. Sign in with Telegram and subscribe to the channel to open every lesson.Continue with TelegramSign in another way← BackTruthy and falsy valuesNext →Implicit conversion