Giter Site home page Giter Site logo

Test for valid numbers about v8n HOT 10 CLOSED

imbrn avatar imbrn commented on May 22, 2024
Test for valid numbers

from v8n.

Comments (10)

imbrn avatar imbrn commented on May 22, 2024 2

It's already out man!

from v8n.

iangilman avatar iangilman commented on May 22, 2024 1

Wow, things move fast around here! @imbrn Thank you for the invite; I was going to say I probably can't get to it right away, so I'm glad @jgpacheco has jumped in! :)

from v8n.

imbrn avatar imbrn commented on May 22, 2024

I think we should go with a rule finite.

Do you want to make a PR @iangilman?

from v8n.

sbarfurth avatar sbarfurth commented on May 22, 2024

Iā€™m gonna say this should be 1.2.0 so 1.1.0 can finally go out.

from v8n.

sbarfurth avatar sbarfurth commented on May 22, 2024

I definitely missed too much in two days :D

from v8n.

imbrn avatar imbrn commented on May 22, 2024

But you helped a lot though in this version. Thank you, man! šŸŽ‰šŸŽ‰

from v8n.

sbarfurth avatar sbarfurth commented on May 22, 2024

To be honest number() should really return false for NaN regardless of an additional rule. The same is true for Infinity. These are odd quirks of JavaScript in my opinion. I would actually prefer to see something like a parameter for number() where you can specify is these two should be included.

from v8n.

imbrn avatar imbrn commented on May 22, 2024

It seems to be a valid argument for number() returning false instead of an additional rule.

from v8n.

jgpacheco avatar jgpacheco commented on May 22, 2024

Somebody working on this? I can take if a good first issue.

from v8n.

imbrn avatar imbrn commented on May 22, 2024

Great! Go ahead @jgpacheco.

from v8n.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.