NativeRegExp
The RegExp object: a bytecode compiler for the pattern plus a backtracking matcher that runs it.
Nothing here calls a platform regex engine. The pattern is compiled to Rhino's own bytecode and matched by executeREBytecode, so JVM, JS, iOS and Wasm all answer the same thing.
Properties
Functions
True for an object that has to pretend it is undefined, which only NativeWith does.
Same as above for a built-in method, which does not get a prototype property.
Defines a property whose value comes from a lambda that needs nothing but itself.
Defines a method backed by a Kotlin lambda.
thisObj is null when called as a constructor, and then the result has to be a Scriptable.
A value another part of the engine parked on this object under key.
Converts this object to a primitive, guided by hint.
Backs the instanceof operator.
Seals the object, so no property can be added, removed or changed.
Attaches data that lives outside the engine, or detaches it with null.