summaryrefslogtreecommitdiff
path: root/test/suite/sputnik/Conformance/15_Native/15.2_Object_Objects/15.2.4_Properties_of_the_Object_Prototype_Object/15.2.4.5_Object.prototype.hasOwnProperty/S15.2.4.5_A12.js
blob: 3211141503d6a0ac8c7655644bfb0c13d1c2db34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2011 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/**
* @name: S15.2.4.5_A12;
* @section: 15.2.4.5;
* @assertion: Let O be the result of calling ToObject passing the this
*             value as the argument.
* @negative
*/

Object.prototype.hasOwnProperty.call(undefined, 'foo');