Bug 55034

Summary: The global object's Math property should be deletable
Product: WebKit Reporter: Kent Hansen <kent.hansen>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: barraclough, cmarcelo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   

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 ***