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

/*---
es5id: 15.2.3.7-2-7
description: >
    Object.defineProperties - argument 'Properties' is a string whose
    value is any interesting string
---*/

var obj = {
  "123": 100
};
var obj1 = Object.defineProperties(obj, "");

assert.sameValue(obj, obj1, 'obj');

reportCompare(0, 0);