{"json_modified": "2015-12-20T16:21:39.303392", "slug": "Glossaire/Truthy", "tags": [], "locale": "fr", "title": "Truthy", "translations": [{"title": "Truthy", "url": "/en-US/docs/Glossary/Truthy", "tags": ["CodingScripting", "Glossary", "JavaScript"], "summary": "In JavaScript, a truthy value is a value that translates to true
when evaluated in a Boolean context. All values are truthy unless they are defined as falsy (i.e., except for false
, 0
, \"\"
, null
, undefined
, and NaN
).", "localization_tags": [], "locale": "en-US", "last_edit": "2015-03-18T13:24:22", "review_tags": []}, {"title": "Truthy", "url": "/pt-BR/docs/Glossario/Truthy", "tags": [], "summary": "Em JavaScript, um valor\u00a0truthy\u00a0\u00e9 um valor que se traduz em verdadeiro quando avaliado em um contexto\u00a0Boolean. Todos os valores s\u00e3o\u00a0truthy a menos que eles sejam definidos como falsy (i.e., exceto para\u00a0false
, 0
, \"\"
, null
, undefined
, e\u00a0NaN
).", "localization_tags": ["inprogress"], "locale": "pt-BR", "last_edit": "2015-11-07T05:45:09", "review_tags": []}, {"title": "Truthy", "url": "/zh-CN/docs/Glossary/Truthy", "tags": [], "summary": "\u5728javascript\u4e2d\uff0c\u6267\u884c\u4e00\u4e2a\u5e03\u5c14\u578b\u73af\u5883\u6240\u6709\u7684\u503c\u90fd\u662f\"truthy\"\uff0c\u9664\u975e\u5b83\u5df2\u7ecf\u5b9a\u4e49\u4e3a\"falsy\"(\u4f8b\u5982\uff1afalse,0,\"\",null,undefinded,NaN\u00a0)\u3002", "localization_tags": ["inprogress"], "locale": "zh-CN", "last_edit": "2015-11-11T19:03:01", "review_tags": []}], "modified": "2015-12-20T16:21:39", "label": "Truthy", "localization_tags": [], "url": "/fr/docs/Glossaire/Truthy", "last_edit": "2015-12-20T16:21:36", "summary": "En JavaScript, une valeur truthy
est une valeur qui est consid\u00e9r\u00e9e comme vraie quand elle est \u00e9valu\u00e9e dans un contexte Boolean . Toutes les valeurs sont truthy
sauf si elles sont definies comme falsy (c'est-\u00e0-dire, sauf pour false
, 0, \"\", null
, undefined
, et NaN
).", "sections": [{"id": "Voir_aussi", "title": "Voir aussi\u00a0"}], "id": 167903, "review_tags": []}