is the type object null?

it should evaluate to true because null and {} have the same type and x is null,

This is your mistake.

The types are different.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top