Files
addon/lib/js2py/js2py_old/constructors/jsboolean.py
2019-12-03 18:11:56 +01:00

17 lines
350 B
Python

from ..base import *
BooleanPrototype.define_own_property('constructor', {
'value': Boolean,
'enumerable': False,
'writable': True,
'configurable': True
})
Boolean.define_own_property(
'prototype', {
'value': BooleanPrototype,
'enumerable': False,
'writable': False,
'configurable': False
})