blob: c27ae870c16e946dc3a6413c1a6b5094a562a095 [file] [log] [blame]
// 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.3-4-98
description: >
Object.getOwnPropertyDescriptor returns data desc for functions on
built-ins (Math.asin)
---*/
var desc = Object.getOwnPropertyDescriptor(Math, "asin");
assert.sameValue(desc.value, Math.asin, 'desc.value');
assert.sameValue(desc.writable, true, 'desc.writable');
assert.sameValue(desc.enumerable, false, 'desc.enumerable');
assert.sameValue(desc.configurable, true, 'desc.configurable');