global

external val global: Boolean(source)

Returns a Boolean value indicating the state of the global flag (g) used with a regular expression. Default is false. Read-only.

MDN Reference