static ObjectPrototype() { ValueReadOnly = MondPrototypeBinder.Bind(typeof(ObjectPrototype)); ValueReadOnly.Prototype = ValuePrototype.Value; ValueReadOnly.Lock(); }
static FunctionPrototype() { ValueReadOnly = MondPrototypeBinder.Bind(typeof(FunctionPrototype)); ValueReadOnly.Prototype = ValuePrototype.Value; ValueReadOnly.Lock(); }
static ArrayPrototype() { ValueReadOnly = MondPrototypeBinder.Bind(typeof(ArrayPrototype)); ValueReadOnly.Prototype = ValuePrototype.Value; ValueReadOnly.Lock(); }
static ValuePrototype() { Value = MondPrototypeBinder.Bind(typeof(ValuePrototype)); // we dont use MondValue.Prototype here because this should not have a prototype Value.ObjectValue.Prototype = MondValue.Undefined; Value.Lock(); }