| 1 |
// Copyright (c) 2012 Ecma International. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
|
| 4 |
/*--- |
| 5 |
es5id: 15.3.3.2-1 |
| 6 |
description: Function.length - data property with value 1 |
| 7 |
---*/ |
| 8 |
|
| 9 |
var desc = Object.getOwnPropertyDescriptor(Function, "length"); |
| 10 |
|
| 11 |
assert.sameValue(desc.value, 1, 'desc.value'); |
| 12 |
assert.sameValue(desc.writable, false, 'desc.writable'); |
| 13 |
assert.sameValue(desc.enumerable, false, 'desc.enumerable'); |
| 14 |
assert.sameValue(desc.configurable, true, 'desc.configurable'); |