Bug 55034 - The global object's Math property should be deletable
Summary: The global object's Math property should be deletable
Status: RESOLVED DUPLICATE of bug 55343
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2011-02-23 04:04 PST by Kent Hansen
Modified: 2011-06-17 00:56 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Kent Hansen 2011-02-23 04:04:12 PST
From ECMA-262 5th edition, section 15.1: "Unless otherwise specified, the standard built-in properties of the global object have attributes {[[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true}".
The other built-in properties of the Global Object can be deleted just fine, as expected, but not the Math property. Is there some meaning behind this inconsistency?
With V8, Math can be deleted. With SpiderMonkey, the delete operator returns true, but the property is still there afterwards.
Comment 1 Gavin Barraclough 2011-06-17 00:56:31 PDT

*** This bug has been marked as a duplicate of bug 55343 ***