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_A13.js
blob: 42a8861c0ecb16f4cd7c517e498cc4c781c72cec (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_A13;
* @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(null, 'foo');