{"json_modified": "2016-09-27T08:57:18.215380", "uuid": "7e8479d0-eea7-468b-b458-17d12cf6b44a", "title": "Truthy", "url": "/en-US/docs/Glossary/Truthy", "tags": ["glossary", "CodingScripting", "Glossary", "JavaScript"], "translations": [{"uuid": "8a281944-3531-4cd7-9826-4d10a9ca5f9c", "title": "Truthy", "url": "/fr/docs/Glossaire/Truthy", "tags": [], "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
).", "localization_tags": [], "locale": "fr", "last_edit": "2015-12-20T16:21:36", "review_tags": []}, {"uuid": "77cf6df3-7a7e-4023-9c76-b912679ce6c2", "title": "Truthy", "url": "/ja/docs/Glossary/Truthy", "tags": ["glossary", "CodingScripting", "Glossary", "JavaScript"], "summary": "JavaScript \u306b\u304a\u3044\u3066\u3001\u771f\u3068\u307f\u306a\u3055\u308c\u308b\u5024 (truthy\u00a0value) \u3068\u306f\u3001Boolean \u30b3\u30f3\u30c6\u30af\u30b9\u30c8\u3068\u3057\u3066\u8a55\u4fa1\u3055\u308c\u305f\u6642\u306b true
\u306b\u306a\u308b\u5024\u306e\u3053\u3068\u3067\u3059\u3002\u507d\u3068\u307f\u306a\u3055\u308c\u308b (falsy) \u5024 (\u3064\u307e\u308a\u3001false
\u30010
\u3001\"\"
\u3001null
\u3001undefined
\u304a\u3088\u3073 NaN
) \u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u306a\u3044\u5024\u306f\u3059\u3079\u3066\u3001\u771f\u3068\u307f\u306a\u3055\u308c\u308b\u5024\u306b\u306a\u308a\u307e\u3059\u3002", "localization_tags": [], "locale": "ja", "last_edit": "2016-08-11T01:28:41", "review_tags": []}, {"uuid": "289431a3-0fc6-4f64-af05-4afc1f2f6a46", "title": "Waarachtig (\"Truthy\")", "url": "/nl/docs/Glossary/Waarachtig", "tags": [], "summary": "In JavaScript, is een waarachtige waarde (truthy value) een waarde welke vertaalbaar is naar\u00a0true
wanneer deze geevalueerd wordt in een\u00a0 Boolean context. Alle waarden zijn waarachtig, tenzij deze worden gedefinieerd als foutief\u00a0 falsy (bijv., met uitzondering van false
, 0
, \"\"
, null
, undefined
, and NaN
).", "localization_tags": ["inprogress"], "locale": "nl", "last_edit": "2016-07-12T00:34:54", "review_tags": []}, {"uuid": "c7f3896d-d3dc-4789-89f3-6ccbd3e80947", "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": []}, {"uuid": "4511b059-a499-45ce-97a1-99a5a04843e7", "title": "Truthy", "url": "/zh-CN/docs/Glossary/Truthy", "tags": ["falsy", "truthy", "JavaScript"], "summary": "\u5728JavaScript\u4e2d\uff0c\u771f\u503c\uff08truthy\uff09\u6307\u7684\u662f\u5728Boolean\u4e0a\u4e0b\u6587\u4e2d\u8f6c\u6362\u540e\u7684\u503c\u4e3atrue\u7684\u5bf9\u8c61\uff08\u503c\uff09\u3002\u9664\u4e86false\u30010\u3001
\"\"\u3001null\u3001
undefined
\u548c NaN
\u8fd9\u4e9b\u88ab\u5b9a\u4e49\u4e3a falsy \u7c7b\u578b\u4ee5\u5916\u7684\u6240\u6709\u503c\u90fd\u4e3a\u771f\u503c\uff08truthy\uff09\u7c7b\u578b\u3002", "localization_tags": [], "locale": "zh-CN", "last_edit": "2015-12-27T22:54:53", "review_tags": ["editorial"]}], "modified": "2016-09-27T08:57:18", "label": "Truthy", "localization_tags": [], "locale": "en-US", "id": 119785, "last_edit": "2016-09-27T08:57:14", "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
).", "sections": [{"id": "See_also", "title": "See also"}], "slug": "Glossary/Truthy", "review_tags": ["technical"]}