Warning: file_put_contents(aCache/aDaily/post/brogrammist/--): Failed to open stream: No space left on device in /var/www/tgoop/post.php on line 50
Brogrammist@brogrammist P.33
BROGRAMMIST Telegram 33
Object.is() vs ===

Object.is() metodini === operatori bilan ko'p holatlarda bemalol almashtirib ishlatsak bo'ladi. Lekin ular bir-biriga to'liq ekvivalent emas.

Ularning asosiy farqi Object.is()`ning `NaN va ishorali nollardagi holatdir. Ishorali nollar bu: -0 va +0.

Demak, === operatori 2 ta NaN qiymatni tekshirarkan false qaytaradi. Lekin Object.is(NaN, NaN) esa true natijasini beradi.

Quyidagi misollarni ko'rib, o'zingiz ham tekshirib ko'ring.



tgoop.com/brogrammist/33
Create:
Last Update:

Object.is() vs ===

Object.is() metodini === operatori bilan ko'p holatlarda bemalol almashtirib ishlatsak bo'ladi. Lekin ular bir-biriga to'liq ekvivalent emas.

Ularning asosiy farqi Object.is()`ning `NaN va ishorali nollardagi holatdir. Ishorali nollar bu: -0 va +0.

Demak, === operatori 2 ta NaN qiymatni tekshirarkan false qaytaradi. Lekin Object.is(NaN, NaN) esa true natijasini beradi.

Quyidagi misollarni ko'rib, o'zingiz ham tekshirib ko'ring.

BY Brogrammist


Share with your friend now:
tgoop.com/brogrammist/33

View MORE
Open in Telegram


Telegram News

Date: |

The main design elements of your Telegram channel include a name, bio (brief description), and avatar. Your bio should be: How to create a business channel on Telegram? (Tutorial) Done! Now you’re the proud owner of a Telegram channel. The next step is to set up and customize your channel. While the character limit is 255, try to fit into 200 characters. This way, users will be able to take in your text fast and efficiently. Reveal the essence of your channel and provide contact information. For example, you can add a bot name, link to your pricing plans, etc. Read now
from us


Telegram Brogrammist
FROM American