mirror of
https://github.com/ccxvii/mujs.git
synced 2026-09-27 22:37:47 +08:00
Set property attributes on built-in objects and respect DontEnum.
This commit is contained in:
+1
-1
@@ -40,5 +40,5 @@ void jsB_initboolean(js_State *J)
|
||||
jsB_propf(J, "valueOf", Bp_valueOf, 0);
|
||||
}
|
||||
js_newcconstructor(J, jsB_Boolean, jsB_new_Boolean);
|
||||
js_setglobal(J, "Boolean");
|
||||
js_defglobal(J, "Boolean", JS_DONTENUM);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user