falsy

Definition from Wiktionary, the free dictionary
Jump to: navigation, search

English[edit]

Etymology[edit]

false +‎ -y

Adjective[edit]

falsy (not comparable)

  1. (computing, programming, JavaScript) Evaluating to false in a Boolean context.
    • 2012, David Flanagan, JavaScript Pocket Reference (page 40)
      In JavaScript, any expression or statement that expects a boolean value will work with a truthy or falsy value, so the fact that && does not always evaluate to true or false does not cause practical problems.

Antonyms[edit]