Rhino.BaseFunction.Init C# (CSharp) Method

Init() static private method

static private Init ( Scriptable scope, bool @sealed ) : void
scope Scriptable
@sealed bool
return void
		internal static void Init(Scriptable scope, bool @sealed)
		{
			Rhino.BaseFunction obj = new Rhino.BaseFunction();
			// Function.prototype attributes: see ECMA 15.3.3.1
			obj.prototypePropertyAttributes = DONTENUM | READONLY | PERMANENT;
			obj.ExportAsJSClass(MAX_PROTOTYPE_ID, scope, @sealed);
		}