test/script/basic/objects.js.EXPECTED

Wed, 03 Jul 2013 15:46:03 +0200

author
lagergren
date
Wed, 03 Jul 2013 15:46:03 +0200
changeset 407
961cffae0828
parent 3
da1e581c933b
child 615
fb091f9052a6
permissions
-rw-r--r--

8019811: Static calls - self referential functions needed a return type conversion if they were specialized, as they can't use the same mechanism as indy calls
Reviewed-by: sundar, jlaskey

     1 sundar
     2 Sundararajan
     3 own properties of 'obj':
     4 0 -> foo
     5 1 -> bar
     6 has own 'foo'? true
     7 has own 'xyz'? false
     8 'foo' enumerable? true
     9 'bar' enumerable? true
    10 foo is writable? true
    11 foo is configurable? true
    12 foo is enumerable? true
    13 foo's value = 44
    14 foo's get = undefined
    15 foo's set = undefined
    16 bar is writable? true
    17 bar is configurable? true
    18 bar is enumerable? true
    19 bar's value = orcl
    20 bar's get = undefined
    21 bar's set = undefined
    22 func is writable? true
    23 func is configurable? true
    24 func is enumerable? true
    25 func's value = function() { print("myfunc"); }
    26 func's get = undefined
    27 func's set = undefined
    28 abc is writable? undefined
    29 abc is configurable? true
    30 abc is enumerable? true
    31 abc's value = undefined
    32 abc's get = abc() { return "abc"; }
    33 abc's set = undefined
    34 xyz is writable? undefined
    35 xyz is configurable? true
    36 xyz is enumerable? true
    37 xyz's value = undefined
    38 xyz's get = undefined
    39 xyz's set = xyz(val) { print(val); }
    40 hey is writable? undefined
    41 hey is configurable? true
    42 hey is enumerable? true
    43 hey's value = undefined
    44 hey's get = hey() { return "hey"; }
    45 hey's set = hey(val) { print(val); }
    46 undefined

mercurial