JavaScript Symbol.match
Medium
4
71.4% 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.