Files
addon/lib/js2py/constructors/jsregexp.py
Alhaziel 917f1a2c4b Revert "Test - CF per XBOX"
This reverts commit ef822e749d.
2019-12-03 18:47:48 +01:00

17 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
})