Closed Bug 883904 Opened 12 years ago Closed 12 years ago

javascript syntax error when writing if(cond)/^regex/;

Categories

(Firefox :: Untriaged, defect)

24 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 883523

People

(Reporter: bobwei9, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20130617 Firefox/24.0 (Nightly/Aurora) Build ID: 20130617031112 Steps to reproduce: To reproduce write on the javascript console (or in some js file/script): if(condition)/^regex/; p.s.: both separated from each other work. (Nor /^regex/; nor if(cond); break) Actual results: Syntax error. Expected results: Should be parsed without any syntax error.
Maybe a duplicate of bug 883523 ?
Seems so; didn't find it after searching before.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.