85
JavaScript Symbol.match Property
The JavaScript Symbol.match is used to identify the matching of a regular expression against a string.
Syntax
Parameters
String
Return value
Return true if a string matches otherwise false.
Browser Support
Chrome | 32 |
Safari | 8 |
Firefox | 29 |
Opera | 19 |
Example 1
Output:
True False
Example 2
Output:
false false
Next TopicJavaScript Symbol