The Symbol.match
static data property represents the well-known symbol @@match
. The String.prototype.match()
method looks up this symbol on its first argument for the method used to match an input string against the current object. This symbol is also used to determine if an object should be treated as a regex.
For more information, see RegExp.prototype[@@match]()
and String.prototype.match()
.