menu class Assertion method searchtoBeNaNAsserts that the value is NaN.toBeNaN(): voidRelatedclass AssertionRepresents a value ready to be asserted.