Javatpoint Logo
Javatpoint Logo

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

Test it Now

Output:

True
False 

Example 2

Test it Now

Output:

false
false

Next TopicJavaScript Symbol





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA