Home »
MCQs »
Jasmine.js MCQs
Which of the following inbuilt matcher just compares if the outcome of the operation sent as an argument to this method matches or not?
13. Which of the following inbuilt matcher just compares if the outcome of the operation sent as an argument to this method matches or not?
- Equal ()
- toMatch ()
- toEqual ()
Answer: C) toEqual ()
Explanation:
toEqual () just compares if the outcome of the operation sent as an argument to this method matches or not.