summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Function/prototype/bind/15.3.4.5-16-2.js
blob: a892cffb998ef8012f7cd00cbd4def84e993fa73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 15.3.4.5-16-2
description: >
    Function.prototype.bind - The [[Extensible]] attribute of internal
    property in F set as true
---*/

function foo() {}
var obj = foo.bind({});
obj.property = 12;

assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true');

reportCompare(0, 0);