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