Closed Bug 632019 Opened 13 years ago Closed 9 years ago

uneval gives incorrect output for strings containing \0 followed by a digit

Categories

(Core :: JavaScript Engine, defect)

Other Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jorendorff, Unassigned)

Details

assertEq(eval(uneval("\x003")), "\x003");  // FAILS, uneval returns '"\\03"'

This also means that in strict-mode code, eval(uneval("\x003")) throws a
SyntaxError.
Assignee: general → nobody
No longer reproducible - Resolving as WFM.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.