blob: c64913ccec62a342fd8c23137f17edf0977afa2b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Copyright (c) 2012 Ecma International. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es5id: 8.12.1-1_1
description: Properties - [[HasOwnProperty]] (property does not exist)
---*/
var o = {};
assert.sameValue(o.hasOwnProperty("foo"), false, 'o.hasOwnProperty("foo")');
reportCompare(0, 0);
|