Closed Bug 1410675 Opened 8 years ago Closed 6 years ago

Docs say `delete` on a non-configurable property raises a SyntaxError in strict mode.

Categories

(Developer Documentation Graveyard :: General, enhancement, P5)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: leewangzhong, Unassigned)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details "When a property is marked as non-configurable, delete won't have any effect, and will return false. In strict mode this will raise a SyntaxError." That can't be right. You can't tell until runtime whether `Employer.name` is configurable.
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.