summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Object/prototype/hasOwnProperty/S15.2.4.5_A6.js
blob: 7b1ee66e757ff37e74d2cd55137adc05b9dda087 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Object.prototype.hasOwnProperty has not prototype property
es5id: 15.2.4.5_A6
description: >
    Checking if obtaining the prototype property of
    Object.prototype.hasOwnProperty fails
---*/
assert.sameValue(
  Object.prototype.hasOwnProperty.prototype,
  undefined,
  'The value of Object.prototype.hasOwnProperty.prototype is expected to equal undefined'
);

reportCompare(0, 0);