JavaScript Symbol.match

Medium
3
76.9% Acceptance

In this lab, you are going to create an object with a custom Symbol.match property. This will allow you to compare a string using the match() method against the object itself. The objective is to create an object called dogChecker which will check if the input string contains the word 'dog'. Then write the Symbol.match function for the dogChecker object.