Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

angular.isNumber() does not check for NaN #11230

Closed
@jparmar

Description

@jparmar

The current code for isNumber function only checks for value data type.

The issue is : typeOf NaN is also 'number'

there should be additional check to return false when value for isNumber function is NaN

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions