You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we want to be able to say something like FOO || (BAR && FOO !== undefined) || FOO. In other words, if FOO is false (or 0, '', null, or some other false-y thing), then we want the result to be FOO so long as it's defined.
Deliverables
Implement.
Test.
The text was updated successfully, but these errors were encountered:
Overview
Sometimes we want to be able to say something like
FOO || (BAR && FOO !== undefined) || FOO
. In other words, if FOO isfalse
(or0
,''
,null
, or some other false-y thing), then we want the result to beFOO
so long as it's defined.Deliverables
The text was updated successfully, but these errors were encountered: