Closed Bug 398145 Opened 19 years ago Closed 7 years ago

Need strict mode warning for assignment to READONLY properties

Categories

(Rhino Graveyard :: Compiler, defect)

1.6R6
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INACTIVE

People

(Reporter: norrisboyd, Unassigned)

Details

Here's SpiderMonkey's behavior: $ Linux_All_DBG.OBJ/js -version 170 -strict js> const c = 3 js> c = 7 typein:2: strict warning: c is read-only 7

Closing. Bug management is now done here:
https://github.com/mozilla/rhino

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.