Notice that an array and a null value also have a type of "object". To make sure the value doesn't store an array or null, we have to add 2 additional checks.
Our second condition checks that the value is not equal to null.
Thankyou ❣️
@Becoming_developer
On this page of the site you can watch the video online Class 19 | Data type Check in Javascript with a duration of hours minute second in good quality, which was uploaded by the user Becoming Developer Marko G 14 December 2022, share the link with friends and acquaintances, this video has already been watched 30 times on youtube and it was liked by 0 viewers. Enjoy your viewing!