Is toBeTruthy () and toBeFalsy the same?

28. Is toBeTruthy () and toBeFalsy the same?

  1. Yes
  2. No

Answer: B) No

Explanation:

toBeFalsy matches the output to be false whereas toBeTruthy matches the output to be true.

Comments and Discussions!

Load comments ↻






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