pub fn regexp_property(r: &RegExpObj, name: &str) -> Option<Value>
A RegExp own data property (source/flags/global/…/lastIndex), or None if name is not one (so the caller tries methods).
RegExp
source
flags
global
lastIndex
None
name