blob: e0378aba25635cd19ea1c30b2e905f315e43dc72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// 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_21
description: Properties - [[HasOwnProperty]] (literal own setter property)
includes: [runTestCase.js]
---*/
function testcase() {
var o = { set foo(x) {;} };
return o.hasOwnProperty("foo");
}
runTestCase(testcase);
|