The typeof operator can be used to check primitive data types. The exception is null, whose type is object.
_____________________
Documentation: https://developer.mozilla.org/ru/docs...
Our Telegram group: https://t.me/front_room
_____________________
Support me and my channel:
https://yoomoney.ru/to/41001635886758
https://boosty.to/maxwellcoding
_____________________
#javascript #frontend #jsdatatypes