JavaScript & jQuery Tutorials

JS Home Right Arrow JS Reference Right Arrow RegExp Right Arrow prototype

prototype  RegExp  class property

Description

Enables property assignment to objects of type Regexp.

  • Like all class properties prototype should be used on the class rather than an instance of the class.

Syntax


Signature Description
RegExp.prototypeEnables property assignment to objects of type RegExp.

Parameters

None.

Examples

The code below displays RegExp prototype.


alert('RegExp prototype is ' + RegExp.prototype);

Press the button below to action the above code:

Related Tutorials

JavaScript Intermediate Tutorials - Lesson 9 - Regular Expressions



  

go to home page Homepage go to top of page Top