nashorn/test/script/basic/objects.js.EXPECTED
author jlaskey
Fri, 21 Dec 2012 16:36:24 -0400
changeset 16147 e63b63819133
child 20938 e92d8249f60c
permissions -rw-r--r--
8005403: Open-source Nashorn Reviewed-by: attila, hannesw, lagergren, sundar Contributed-by: james.laskey@oracle.com, akhil.arora@oracle.com, andreas.woess@jku.at, attila.szegedi@oracle.com, hannes.wallnoefer@oracle.com, henry.jen@oracle.com, marcus.lagergren@oracle.com, pavel.semenov@oracle.com, pavel.stepanov@oracle.com, petr.hejl@oracle.com, petr.pisl@oracle.com, sundararajan.athijegannathan@oracle.com

sundar
Sundararajan
own properties of 'obj':
0 -> foo
1 -> bar
has own 'foo'? true
has own 'xyz'? false
'foo' enumerable? true
'bar' enumerable? true
foo is writable? true
foo is configurable? true
foo is enumerable? true
foo's value = 44
foo's get = undefined
foo's set = undefined
bar is writable? true
bar is configurable? true
bar is enumerable? true
bar's value = orcl
bar's get = undefined
bar's set = undefined
func is writable? true
func is configurable? true
func is enumerable? true
func's value = function() { print("myfunc"); }
func's get = undefined
func's set = undefined
abc is writable? undefined
abc is configurable? true
abc is enumerable? true
abc's value = undefined
abc's get = abc() { return "abc"; }
abc's set = undefined
xyz is writable? undefined
xyz is configurable? true
xyz is enumerable? true
xyz's value = undefined
xyz's get = undefined
xyz's set = xyz(val) { print(val); }
hey is writable? undefined
hey is configurable? true
hey is enumerable? true
hey's value = undefined
hey's get = hey() { return "hey"; }
hey's set = hey(val) { print(val); }
undefined