Object.isbeginner// Strict identity that handles edge cases
Object.is(NaN, NaN) // β true (unlike ===)
Object.is(0, -0) // β false (unlike ===)
Object.is(1, 1) // β trueUse Object.is() for strict value comparison that correctly handles NaN equality and distinguishes +0 from -0.
Object.is(null, null) returns true. Object.is(null, undefined) returns false β unlike loose equality null == undefined.
Challenge: Implement checkNull() that returns Object.is(null, null).
checkNull() // β true
null == undefined // β true (loose equality)
Object.is(null, undefined) // β false (strict same-value)