« Previous | Next » 

Revision b87ca794

IDb87ca794e31096b61ead46911baf92ba1c020a7d
Parent 71fc4d94
Child 7f86baf5

Added by cjihrig almost 10 years ago

lib: remove and restructure calls to isNaN()

Switch condition order to check for null before calling isNaN().
Also remove two unnecessary calls to isNaN() that are already
covered by calls to isFinite(). This commit targets v0.10, as
opposed to #7891, which targets master (suggested by
@bnoordhuis). Closes #7840.

Signed-off-by: Fedor Indutny <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences