"0".match(/^0$/) returns {...} instead of true/false

RESOLVED INVALID

Status

()

RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: jmichae3, Unassigned)

Tracking

49 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:49.0) Gecko/20100101 Firefox/49.0
Build ID: 20160922113459

Steps to reproduce:

"0".match(/^0$/)
tried in debugger


Actual results:

returns {...} in debugger, not array object.


Expected results:

should return true I had thought. even with an array, there is no way to compare arrays.
(Reporter)

Comment 1

2 years ago
works same in ie8. this is where I saw that bug. posted to wrong place. debugger in ff works OK.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.