Answer: A
The unary plus tries to convert an operand to a number. true is 1, and false is 0.
The string 'Lydia' is a truthy value. What we're actually asking, is "Is this truthy value falsy?". This returns false.
#javascript #CodingQuiz #WebDevelopment #Frontend #JSConcepts #LearnToCode #Programming #CodeChallenge
コメント