Home » JavaScript Symbol match Property

JavaScript Symbol match Property

by Online Tutorials Library

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

You may also like