Among toBe () and toEqual () which of the following compares objects recursively and checks property equality, and it is type sensitive

16. Among toBe () and toEqual () which of the following compares objects recursively and checks property equality, and it is type sensitive.

  1. toBe ()
  2. toEqual ()

Answer: B) toEqual ()

Explanation:

toEqual () compares objects recursively and checks property equality, and it is type sensitive.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.