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) --- .../reference/global_objects/null/index.html | 126 --------------------- 1 file changed, 126 deletions(-) delete mode 100644 files/fa/web/javascript/reference/global_objects/null/index.html (limited to 'files/fa/web/javascript/reference/global_objects/null/index.html') diff --git a/files/fa/web/javascript/reference/global_objects/null/index.html b/files/fa/web/javascript/reference/global_objects/null/index.html deleted file mode 100644 index b90e55a245..0000000000 --- a/files/fa/web/javascript/reference/global_objects/null/index.html +++ /dev/null @@ -1,126 +0,0 @@ ---- -title: 'null' -slug: Web/JavaScript/Reference/Global_Objects/null -translation_of: Web/JavaScript/Reference/Global_Objects/null ---- -
 
- -

مقدار null نمایان گر مقداری هست که به صورت دستی (عمدی) می توانیم به یک متغییر نسبت دهیم،null یکی از  {{Glossary("Primitive", "نوع های اولیه")}}. جاوا اسکریپت می باشد.

- -

شیوه ی نوشتن

- -
null
- -

توضیح

- -

null باید به صورت حروف کوچک نوشته شود،null اقلب برای مشخص کردن مکان object به کار برده می شود و به هیچ object وابسته نمی باشد

- -

زمانی که می خواهید مقدار null یا undefined  را بررسی کنید به تفاوت مابین عملگر های بررسی (==) و (===) اگاه باشید.

- -
// foo does not exist. It is not defined and has never been initialized:
-> foo
-"ReferenceError: foo is not defined"
-
-// foo is known to exist now but it has no type or value:
-> var foo = null; foo
-"null"
-
- -

تفاوت بین null  و undefined

- -
typeof null        // object (bug in ECMAScript, should be null)
-typeof undefined   // undefined
-null === undefined // false
-null  == undefined // true
-
- -

مشخصات

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
مشخصاتوضعیتتوضیحات
{{SpecName('ES1')}}{{Spec2('ES1')}}Initial definition.
{{SpecName('ES5.1', '#sec-4.3.11', 'null value')}}{{Spec2('ES5.1')}} 
{{SpecName('ES6', '#sec-null-value', 'null value')}}{{Spec2('ES6')}} 
{{SpecName('ESDraft', '#sec-null-value', 'null value')}}{{Spec2('ESDraft')}} 
- -

سازگاری مرورگرها

- -

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -

بیشتر بخوانید

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