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!









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