The Symbol.match
well-known symbol specifies the matching of a regular expression against a string. This function is called by the String.prototype.match()
method.
For more information, see RegExp.prototype[@@match]()
and String.prototype.match()
.