Ticket #354 (closed defect: fixed)

Opened 11 months ago

Last modified 8 months ago

ES3: NaN.toString() does not return 'NaN'

Reported by: cpeyer Assigned to: anonymous
Type: defect Priority: major
Milestone: Component: RefImpl
Version: 4 Keywords:
Cc:

Description

x = NaN;
x.toString(); // returns [object Number]

Expected result: Return 'NaN' string

ES3 Tests:
tests/spidermonkey/ecma/Expressions/11.2.1-2

Attachments

Change History

Changed 8 months ago by graydon

  • status changed from new to closed
  • resolution set to fixed

Returns "NaN" now.

Note: See TracTickets for help on using tickets.