Example #1
0
        public Boolean_ctor(Context context)
            : base(context)
        {
            Boolean_prototype = new Boolean_prototype(Context);
            Boolean_prototype.SetOwnProperty("constructor", this);

            SetOwnProperty("prototype", Boolean_prototype);
        }
Example #2
0
        protected Boolean_ctor(Context context)
        {
            Context = context;
            Class = ObjClass.Function;

            Boolean_prototype = new Boolean_prototype(Context);
            Boolean_prototype.SetOwnProperty("constructor", this);

            SetOwnProperty("prototype", Boolean_prototype);
        }