Loading...
「ツール」は右上に移動しました。
利用したサーバー: wtserver3
3いいね 13回再生

JavaScript Type Coercion: Can You Guess the Output? #codechallenge #coding #lessonsjs

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

コメント