Object.baseline 887 B

1234567891011
  1. (test 1): Object getOwnPropertyDescriptor throws TypeError when the first parameter is either null or undefined
  2. Success: Expected Object getOwnPropertyDescriptor throws TypeError when 1st parameter is null = true, got true
  3. Success: Expected Object getOwnPropertyDescriptor throws TypeError when 1st parameter is undefined = true, got true
  4. PASS
  5. (test 2): Freezing an object with deleted properties
  6. PASS
  7. (test 3): Object getOwnPropertyDescriptor works fine when the first parameter is a built-in type except null or undefined
  8. Success: Expected Object getOwnPropertyDescriptor does not throw when 1st parameter is boolean = undefined, got undefined
  9. Success: Expected Object getOwnPropertyDescriptor does not throw when 1st parameter is number = undefined, got undefined
  10. Success: Expected Object getOwnPropertyDescriptor works fine when 1st parameter is string = 3, got 3
  11. PASS