internal static void Init(Scriptable scope, bool @sealed)
{
Rhino.NativeWith obj = new Rhino.NativeWith();
obj.SetParentScope(scope);
obj.SetPrototype(ScriptableObject.GetObjectPrototype(scope));
IdFunctionObject ctor = new IdFunctionObject(obj, FTAG, Id_constructor, "With", 0, scope);
ctor.MarkAsConstructor(obj);
if (@sealed)
{
ctor.SealObject();
}
ctor.ExportAsScopeProperty();
}