From 95aca4b4d8fa62815d4bd412fff1a364f842814a Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Thu, 29 Apr 2021 16:16:42 -0700 Subject: remove retired locales (#699) --- files/pt-pt/glossary/boolean/index.html | 52 --------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 files/pt-pt/glossary/boolean/index.html (limited to 'files/pt-pt/glossary/boolean/index.html') diff --git a/files/pt-pt/glossary/boolean/index.html b/files/pt-pt/glossary/boolean/index.html deleted file mode 100644 index 503ac36e8c..0000000000 --- a/files/pt-pt/glossary/boolean/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: Booliano -slug: Glossary/Boolean -tags: - - Booleano - - Booliano - - Glossário - - JavaScript - - Linguagens de Programação - - Progração Scripting - - tipos de dados -translation_of: Glossary/Boolean -original_slug: Glossário/booliano ---- -

Na informática, um booliano é um tipo de dados lógico que pode ter apenas os valores verdadeiro ou falso. Por exemplo, em JavaScript, as condicionais de boolianos são frequentemente utilizadas ​​para decidir quais as secções de código a serem executadas (tal como em declarações if) ou repetir (tal como repetições for).

- -
/* JavaScript if statement */
-if (boolean conditional) {
-   // code to execute if the conditional is true
-}
-
-if (boolean conditional) {
-  console.log("boolean conditional resolved to true");
-} else {
-  console.log("boolean conditional resolved to false");
-}
-
-
-/* JavaScript for loop */
-for (control variable; boolean conditional; counter) {
-  // code to execute repeatedly if the conditional is true
-}
-
-for (var i=0; i < 4; i++) {
-  console.log("I print only when the boolean conditional is true");
-}
-
- -

Saiba mais

- -

Conhecimento geral

- - - -

Referência técnica

- - -- cgit v1.2.3-54-g00ecf