Number.isFinite() should describe behavior of Number.isFinite(null)

RESOLVED FIXED

Status

Developer Documentation
JavaScript
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: Johannes Schmid, Assigned: arai)

Tracking

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160210153822

Steps to reproduce:

Go to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isFinite


Actual results:

Passing null as parameter (Number.isFinite(null)) is not mentioned at all


Expected results:

Examples lists Number.isFinite(null) as one of the cases which is different from global isFinite().
(Assignee)

Comment 1

2 years ago
Updated the document.  does it make sense?
Assignee: nobody → arai.unmht
Flags: needinfo?(johnny)
(Reporter)

Comment 2

2 years ago
Yes, that's exactly what I meant. Thanks!
Flags: needinfo?(johnny)
(Assignee)

Updated

2 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.