SickGear/lib/js2py/constructors/jsregexp.py
2023-02-09 13:41:15 +00:00

16 lines
346 B
Python

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