Revert "Test - CF per XBOX"

This reverts commit ef822e749d.
This commit is contained in:
Alhaziel
2019-12-03 18:47:48 +01:00
parent ef822e749d
commit 917f1a2c4b
208 changed files with 78 additions and 115980 deletions

View File

@@ -0,0 +1,23 @@
from ..conversions import *
from ..func_utils import *
def fromCharCode(this, args):
res = u''
for e in args:
res += unichr(to_uint16(e))
return res
def String(this, args):
if len(args) == 0:
return u''
return to_string(args[0])
def StringConstructor(args, space):
temp = space.NewObject()
temp.prototype = space.StringPrototype
temp.Class = 'String'
temp.value = to_string(get_arg(args, 0)) if len(args) > 0 else u''
return temp