Closed Bug 837619 Opened 11 years ago Closed 11 years ago

Object.create(null) fails

Categories

(DevTools :: Console, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 688400

People

(Reporter: olov.lassus, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.56 Safari/537.17

Steps to reproduce:

Object.create(null);  [in FF 18.0.1 web console]


Actual results:

TypeError: can't convert null to primitive type


Expected results:

{}
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
Sorry for the rude rough dup, I submitted before adding a comment
This is known bug of the console, not the JS engine. (I'm trying to change product+component, but fail at it...)
Assignee: general → nobody
Component: JavaScript Engine → Developer Tools: Console
Product: Core → Firefox
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.