Coder Social home page Coder Social logo

platzimaster / challenge-javascript-04 Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 110.0 582 KB

challenge-javascript-04 - Prueba de primalidad

Home Page: https://platzi.com/clases/learning-path/matematicas-programacion/

License: MIT License

JavaScript 100.00%
javascript level-basic math numbers

challenge-javascript-04's People

Contributors

degranda avatar gndx avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

challenge-javascript-04's Issues

Badge de status

Estara bien poner un badge que les muetre el status de su build en el README?

![{workflow_name}](https://github.com/{github_id}/{repository}/workflows/{workflow_name}/badge.svg)

El workflow name creo quedaria mas entendible como main.yml

Repeated test

The test expect(testFunction(191)).toBe(true); is repeated.

Update name of project in the README file

Expected Behavior

challenge-javascript-04 se lanza bajo la licencia MIT.

Current Behavior

challenge-javascript-03 se lanza bajo la licencia MIT.

Possible Solution

Edit README file and change name of the project to challenge-javascript-04
#60

New tests

Estuve revisando las soluciones y encontré implementaciones incorrectas que pasan los test por que sugiero incluir los siguientes números para probar.

No primos

Números negativos

Como 1 no es primo, el test -1 pasa si se quita el signo.

  • -11
  • -6

Números flotantes

Si se redondean los números, quedan puros números no primos, con lo que se pasa el test pero no cubre todos los casos.

  • 2.4
  • 2.7
  • 11.5

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.