Skip to main content

regexp_property

Function regexp_property 

Source
pub fn regexp_property(r: &RegExpObj, name: &str) -> Option<Value>
Expand description

A RegExp own data property (source/flags/global/…/lastIndex), or None if name is not one (so the caller tries methods).