Check whether or not the "g" modifier is set:
The result of res will be:
The global property specifies whether or not the "g" modifier is set.
This property returns true if the "g" modifier is set, otherwise it returns false.
The global property is supported in all major browsers.
Type | Description |
---|---|
Boolean | Returns true if the "g" modifier is set, false otherwise |
JavaScript Version: | 1.2 |
---|