From 52c0079c94bbc212746efa082ea173c45acfc23d Mon Sep 17 00:00:00 2001 From: Daruza <42251534+Daruza@users.noreply.github.com> Date: Thu, 8 Aug 2019 02:14:44 +0300 Subject: [PATCH] Fixed Mistakes (#29508) Added a missing information, the "" being one of the false values and not just '', and fixed some spelling and writing mistakes --- guide/arabic/javascript/booleans/index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/guide/arabic/javascript/booleans/index.md b/guide/arabic/javascript/booleans/index.md index b3ed6d84dd..2c47e536b4 100644 --- a/guide/arabic/javascript/booleans/index.md +++ b/guide/arabic/javascript/booleans/index.md @@ -22,7 +22,7 @@ if (a) { * غير محدد * نان * 0 -* '' (سلسلة فارغة) +* '' أو "" (سلسلة فارغة) سيتم فرض جميع القيم الأخرى إلى true. عندما تُكرَه القيمة إلى قيمة منطقية ، فإننا نطلق عليها أيضًا إما "كاذبة" أو "صادقة". @@ -69,7 +69,7 @@ if (x) { } ``` -لا ينطبق هذا السلوك على الأوليات البولية. على سبيل المثال ، يتم تقييم الشرط الموجود في العبارة if في حالة الخطأ: +لا ينطبق هذا السلوك على الأوليات المنطقية. على سبيل المثال ، يتم تقييم الشرط الموجود في العبارة if في حالة الخطأ: ```javascript var x = false; @@ -98,5 +98,5 @@ var s = new Boolean(myString); // initial value of true ### مصادر -* [كائن بولياني](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) -* [كائن بولياني](https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html) \ No newline at end of file +* [كائن منطقي](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean) +* [كائن منطقي](https://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html)