FixedFieldsOnSingletons.baseline 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Testing the global object:
  2. globalFixedFunction1: original
  3. globalFixedFunction2: original
  4. globalFixedFunction1: original
  5. globalFixedFunction2: original
  6. globalFixedFunction1: overwritten
  7. globalFixedFunction2: overwritten
  8. Testing object literal:
  9. x + y = 1 (original)
  10. x - y = -1 (original)
  11. x + y = 1 (original)
  12. x - y = -1 (original)
  13. x + y = 1 (overwritten)
  14. x - y = -1 (original)
  15. Testing Object.defineProperty with accessors:
  16. x = 0 (original)
  17. x = 0 (original)
  18. x = 1 (overwritten)
  19. Testing the Math object:
  20. Math.sin(Math.PI) = 1.2246467991473532e-16
  21. Math.identity(Math.PI) = 3.141592653589793
  22. Math.sin(Math.PI) = 1.2246467991473532e-16
  23. Math.identity(Math.PI) = 3.141592653589793
  24. Math.sin(Math.PI) = 1.2246467991473532e-16
  25. Math.identity(Math.PI) = -3.141592653589793
  26. Math.sin(Math.PI) = -3.141592653589793
  27. Math.identity(Math.PI) = -3.141592653589793
  28. Testing the Object constructor:
  29. Object.identity(o) = [object Object]
  30. Object.isSealed(o) = true
  31. Object.identity(o) = [object Object]
  32. Object.isSealed(o) = true
  33. Object.identity(o) = I don't know you anymore...
  34. Object.isSealed(o) = true
  35. Object.identity(o) = I don't know you anymore...
  36. Object.isSealed(o) = false
  37. Object.identity(o) = I don't know you anymore...
  38. Object.isSealed(o) = With the magic of JavaScript I pronounce you sealed!