Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

typeof regex

// use instanceof to determine the "type of" RegExp object
if (object instanceof RegExp) {}
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #typeof #regex
ADD COMMENT
Topic
Name
3+7 =