Returns the primitive value of a RegExp object.
Method of RegExp
Syntax
valueOf()
Parameters
None
Description
The valueOf method of RegExp returns the primitive value of a RegExp object as a string data type. This value is equivalent to RegExp.toString.
This method is usually called internally by MetaScript and not explicitly in code.