constructor.baseline 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. x = Object(); x:[object Object] typeof(x):object x.str():[object Object]
  2. x = new Object(); x:[object Object] typeof(x):object x.str():[object Object]
  3. x = Object(undefined); x:[object Object] typeof(x):object x.str():[object Object]
  4. x = new Object(undefined); x:[object Object] typeof(x):object x.str():[object Object]
  5. x = Object(null); x:[object Object] typeof(x):object x.str():[object Object]
  6. x = new Object(null); x:[object Object] typeof(x):object x.str():[object Object]
  7. x = Object(true); x:true typeof(x):object x.str():[object Boolean]
  8. x = new Object(true); x:true typeof(x):object x.str():[object Boolean]
  9. x = Object(false); x:false typeof(x):object x.str():[object Boolean]
  10. x = new Object(false); x:false typeof(x):object x.str():[object Boolean]
  11. x = Object(Boolean(true)); x:true typeof(x):object x.str():[object Boolean]
  12. x = new Object(Boolean(true)); x:true typeof(x):object x.str():[object Boolean]
  13. x = Object(Boolean(false)); x:false typeof(x):object x.str():[object Boolean]
  14. x = new Object(Boolean(false)); x:false typeof(x):object x.str():[object Boolean]
  15. x = Object(new Boolean(true)); x:true typeof(x):object x.str():[object Boolean]
  16. x = new Object(new Boolean(true)); x:true typeof(x):object x.str():[object Boolean]
  17. x = Object(new Boolean(false)); x:false typeof(x):object x.str():[object Boolean]
  18. x = new Object(new Boolean(false)); x:false typeof(x):object x.str():[object Boolean]
  19. x = Object(NaN); x:NaN typeof(x):object x.str():[object Number]
  20. x = new Object(NaN); x:NaN typeof(x):object x.str():[object Number]
  21. x = Object(+0); x:0 typeof(x):object x.str():[object Number]
  22. x = new Object(+0); x:0 typeof(x):object x.str():[object Number]
  23. x = Object(-0); x:0 typeof(x):object x.str():[object Number]
  24. x = new Object(-0); x:0 typeof(x):object x.str():[object Number]
  25. x = Object(0); x:0 typeof(x):object x.str():[object Number]
  26. x = new Object(0); x:0 typeof(x):object x.str():[object Number]
  27. x = Object(0.0); x:0 typeof(x):object x.str():[object Number]
  28. x = new Object(0.0); x:0 typeof(x):object x.str():[object Number]
  29. x = Object(-0.0); x:0 typeof(x):object x.str():[object Number]
  30. x = new Object(-0.0); x:0 typeof(x):object x.str():[object Number]
  31. x = Object(+0.0); x:0 typeof(x):object x.str():[object Number]
  32. x = new Object(+0.0); x:0 typeof(x):object x.str():[object Number]
  33. x = Object(1); x:1 typeof(x):object x.str():[object Number]
  34. x = new Object(1); x:1 typeof(x):object x.str():[object Number]
  35. x = Object(10); x:10 typeof(x):object x.str():[object Number]
  36. x = new Object(10); x:10 typeof(x):object x.str():[object Number]
  37. x = Object(10.0); x:10 typeof(x):object x.str():[object Number]
  38. x = new Object(10.0); x:10 typeof(x):object x.str():[object Number]
  39. x = Object(10.1); x:10.1 typeof(x):object x.str():[object Number]
  40. x = new Object(10.1); x:10.1 typeof(x):object x.str():[object Number]
  41. x = Object(-1); x:-1 typeof(x):object x.str():[object Number]
  42. x = new Object(-1); x:-1 typeof(x):object x.str():[object Number]
  43. x = Object(-10); x:-10 typeof(x):object x.str():[object Number]
  44. x = new Object(-10); x:-10 typeof(x):object x.str():[object Number]
  45. x = Object(-10.0); x:-10 typeof(x):object x.str():[object Number]
  46. x = new Object(-10.0); x:-10 typeof(x):object x.str():[object Number]
  47. x = Object(-10.1); x:-10.1 typeof(x):object x.str():[object Number]
  48. x = new Object(-10.1); x:-10.1 typeof(x):object x.str():[object Number]
  49. x = Object(Number.MAX_VALUE); x:1.7976931348623157e+308 typeof(x):object x.str():[object Number]
  50. x = new Object(Number.MAX_VALUE); x:1.7976931348623157e+308 typeof(x):object x.str():[object Number]
  51. x = Object(Number.MIN_VALUE); x:5e-324 typeof(x):object x.str():[object Number]
  52. x = new Object(Number.MIN_VALUE); x:5e-324 typeof(x):object x.str():[object Number]
  53. x = Object(Number.NaN); x:NaN typeof(x):object x.str():[object Number]
  54. x = new Object(Number.NaN); x:NaN typeof(x):object x.str():[object Number]
  55. x = Object(Number.POSITIVE_INFINITY); x:Infinity typeof(x):object x.str():[object Number]
  56. x = new Object(Number.POSITIVE_INFINITY); x:Infinity typeof(x):object x.str():[object Number]
  57. x = Object(Number.NEGATIVE_INFINITY); x:-Infinity typeof(x):object x.str():[object Number]
  58. x = new Object(Number.NEGATIVE_INFINITY); x:-Infinity typeof(x):object x.str():[object Number]
  59. x = Object(new Number(NaN)); x:NaN typeof(x):object x.str():[object Number]
  60. x = new Object(new Number(NaN)); x:NaN typeof(x):object x.str():[object Number]
  61. x = Object(new Number(+0)); x:0 typeof(x):object x.str():[object Number]
  62. x = new Object(new Number(+0)); x:0 typeof(x):object x.str():[object Number]
  63. x = Object(new Number(-0)); x:0 typeof(x):object x.str():[object Number]
  64. x = new Object(new Number(-0)); x:0 typeof(x):object x.str():[object Number]
  65. x = Object(new Number(0)); x:0 typeof(x):object x.str():[object Number]
  66. x = new Object(new Number(0)); x:0 typeof(x):object x.str():[object Number]
  67. x = Object(new Number(0.0)); x:0 typeof(x):object x.str():[object Number]
  68. x = new Object(new Number(0.0)); x:0 typeof(x):object x.str():[object Number]
  69. x = Object(new Number(-0.0)); x:0 typeof(x):object x.str():[object Number]
  70. x = new Object(new Number(-0.0)); x:0 typeof(x):object x.str():[object Number]
  71. x = Object(new Number(+0.0)); x:0 typeof(x):object x.str():[object Number]
  72. x = new Object(new Number(+0.0)); x:0 typeof(x):object x.str():[object Number]
  73. x = Object(new Number(1)); x:1 typeof(x):object x.str():[object Number]
  74. x = new Object(new Number(1)); x:1 typeof(x):object x.str():[object Number]
  75. x = Object(new Number(10)); x:10 typeof(x):object x.str():[object Number]
  76. x = new Object(new Number(10)); x:10 typeof(x):object x.str():[object Number]
  77. x = Object(new Number(10.0)); x:10 typeof(x):object x.str():[object Number]
  78. x = new Object(new Number(10.0)); x:10 typeof(x):object x.str():[object Number]
  79. x = Object(new Number(10.1)); x:10.1 typeof(x):object x.str():[object Number]
  80. x = new Object(new Number(10.1)); x:10.1 typeof(x):object x.str():[object Number]
  81. x = Object(new Number(-1)); x:-1 typeof(x):object x.str():[object Number]
  82. x = new Object(new Number(-1)); x:-1 typeof(x):object x.str():[object Number]
  83. x = Object(new Number(-10)); x:-10 typeof(x):object x.str():[object Number]
  84. x = new Object(new Number(-10)); x:-10 typeof(x):object x.str():[object Number]
  85. x = Object(new Number(-10.0)); x:-10 typeof(x):object x.str():[object Number]
  86. x = new Object(new Number(-10.0)); x:-10 typeof(x):object x.str():[object Number]
  87. x = Object(new Number(-10.1)); x:-10.1 typeof(x):object x.str():[object Number]
  88. x = new Object(new Number(-10.1)); x:-10.1 typeof(x):object x.str():[object Number]
  89. x = Object(new Number(Number.MAX_VALUE)); x:1.7976931348623157e+308 typeof(x):object x.str():[object Number]
  90. x = new Object(new Number(Number.MAX_VALUE)); x:1.7976931348623157e+308 typeof(x):object x.str():[object Number]
  91. x = Object(new Number(Number.MIN_VALUE)); x:5e-324 typeof(x):object x.str():[object Number]
  92. x = new Object(new Number(Number.MIN_VALUE)); x:5e-324 typeof(x):object x.str():[object Number]
  93. x = Object(new Number(Number.NaN)); x:NaN typeof(x):object x.str():[object Number]
  94. x = new Object(new Number(Number.NaN)); x:NaN typeof(x):object x.str():[object Number]
  95. x = Object(new Number(Number.POSITIVE_INFINITY)); x:Infinity typeof(x):object x.str():[object Number]
  96. x = new Object(new Number(Number.POSITIVE_INFINITY)); x:Infinity typeof(x):object x.str():[object Number]
  97. x = Object(new Number(Number.NEGATIVE_INFINITY)); x:-Infinity typeof(x):object x.str():[object Number]
  98. x = new Object(new Number(Number.NEGATIVE_INFINITY)); x:-Infinity typeof(x):object x.str():[object Number]
  99. x = Object(''); x: typeof(x):object x.str():[object String]
  100. x = new Object(''); x: typeof(x):object x.str():[object String]
  101. x = Object(0xa); x:10 typeof(x):object x.str():[object Number]
  102. x = new Object(0xa); x:10 typeof(x):object x.str():[object Number]
  103. x = Object(04); x:4 typeof(x):object x.str():[object Number]
  104. x = new Object(04); x:4 typeof(x):object x.str():[object Number]
  105. x = Object('hello'); x:hello typeof(x):object x.str():[object String]
  106. x = new Object('hello'); x:hello typeof(x):object x.str():[object String]
  107. x = Object('hel' + 'lo'); x:hello typeof(x):object x.str():[object String]
  108. x = new Object('hel' + 'lo'); x:hello typeof(x):object x.str():[object String]
  109. x = Object(String('')); x: typeof(x):object x.str():[object String]
  110. x = new Object(String('')); x: typeof(x):object x.str():[object String]
  111. x = Object(String('hello')); x:hello typeof(x):object x.str():[object String]
  112. x = new Object(String('hello')); x:hello typeof(x):object x.str():[object String]
  113. x = Object(String('h' + 'ello')); x:hello typeof(x):object x.str():[object String]
  114. x = new Object(String('h' + 'ello')); x:hello typeof(x):object x.str():[object String]
  115. x = Object(new String('')); x: typeof(x):object x.str():[object String]
  116. x = new Object(new String('')); x: typeof(x):object x.str():[object String]
  117. x = Object(new String('hello')); x:hello typeof(x):object x.str():[object String]
  118. x = new Object(new String('hello')); x:hello typeof(x):object x.str():[object String]
  119. x = Object(new String('he' + 'llo')); x:hello typeof(x):object x.str():[object String]
  120. x = new Object(new String('he' + 'llo')); x:hello typeof(x):object x.str():[object String]
  121. x = Object(new Object()); x:[object Object] typeof(x):object x.str():[object Object]
  122. x = new Object(new Object()); x:[object Object] typeof(x):object x.str():[object Object]
  123. x = Object(new Object()); x:[object Object] typeof(x):object x.str():[object Object]
  124. x = new Object(new Object()); x:[object Object] typeof(x):object x.str():[object Object]
  125. x = Object([1, 2, 3]); x:1,2,3 typeof(x):object x.str():[object Array]
  126. x = new Object([1, 2, 3]); x:1,2,3 typeof(x):object x.str():[object Array]
  127. x = Object([1 ,2 , 3]); x:1,2,3 typeof(x):object x.str():[object Array]
  128. x = new Object([1 ,2 , 3]); x:1,2,3 typeof(x):object x.str():[object Array]
  129. x = Object(new Array(3)); x:,, typeof(x):object x.str():[object Array]
  130. x = new Object(new Array(3)); x:,, typeof(x):object x.str():[object Array]
  131. x = Object(Array(3)); x:,, typeof(x):object x.str():[object Array]
  132. x = new Object(Array(3)); x:,, typeof(x):object x.str():[object Array]
  133. x = Object(new Array(1 ,2 ,3)); x:1,2,3 typeof(x):object x.str():[object Array]
  134. x = new Object(new Array(1 ,2 ,3)); x:1,2,3 typeof(x):object x.str():[object Array]
  135. x = Object(Array(1)); x: typeof(x):object x.str():[object Array]
  136. x = new Object(Array(1)); x: typeof(x):object x.str():[object Array]
  137. x = Object(foo); x:function foo() {} typeof(x):function x.str():[object Function]
  138. x = new Object(foo); x:function foo() {} typeof(x):function x.str():[object Function]
  139. Testing no prototype property construction
  140. ObjectprotoFunc
  141. ObjectprotoFunc
  142. ObjectprotoFunc
  143. ObjectprotoFunc
  144. ObjectprotoFunc
  145. ObjectprotoFunc
  146. ObjectprotoFunc
  147. ObjectprotoFunc
  148. Testing custom object prototype construction
  149. protoFunc
  150. protoFunc
  151. protoFunc
  152. protoFunc
  153. protoFunc
  154. protoFunc
  155. protoFunc
  156. protoFunc
  157. Testing integer prototype construction
  158. ObjectprotoFunc
  159. ObjectprotoFunc
  160. ObjectprotoFunc
  161. ObjectprotoFunc
  162. ObjectprotoFunc
  163. ObjectprotoFunc
  164. ObjectprotoFunc
  165. ObjectprotoFunc
  166. Testing no prototype property construction
  167. ObjectprotoFunc
  168. ObjectprotoFunc
  169. ObjectprotoFunc
  170. ObjectprotoFunc
  171. ObjectprotoFunc
  172. ObjectprotoFunc
  173. ObjectprotoFunc
  174. ObjectprotoFunc
  175. Testing cross script context object creation
  176. property
  177. property
  178. property
  179. property
  180. property