Find Jobs
Hire Freelancers

JavaScript ISBN with Jasmine unit

$10-30 USD

Fermé
Publié il y a environ 5 ans

$10-30 USD

Payé lors de la livraison
ISBN - International Standard Book Number ----------------------------------------- There are two ISBN standards: ISBN-10 and ISBN-13. Support for ISBN-13 is essential, whereas support for ISBN-10 is optional. Here are some valid examples of each: ISBN-10: 0471958697 0 471 60695 2 0-470-84525-2 0-321-14653-0 ISBN-13: 9780470059029 978 0 471 48648 0 978-0596809485 978-0-13-149505-0 978-0-262-13472-9 ISBN-10 is made up of 9 digits plus a check digit (which may be 'X') and ISBN-13 is made up of 12 digits plus a check digit. Spaces and hyphens may be included in a code, but are not significant. This means that 9780471486480 is equivalent to 978-0-471-48648-0 and 978 0 471 48648 0. The check digit for ISBN-10 is calculated by multiplying each digit by its position (i.e., 1 x 1st digit, 2 x 2nd digit, etc.), summing these products together and taking modulo 11 of the result (with 'X' being used if the result is 10). The check digit for ISBN-13 is calculated by multiplying each digit alternately by 1 or 3 (i.e., 1 x 1st digit, 3 x 2nd digit, 1 x 3rd digit, 3 x 4th digit, etc.), summing these products together, taking modulo 10 of the result and subtracting this value from 10, and then taking the modulo 10 of the result again to produce a single digit. Basic task: Create a function that takes a string and returns true if that is a valid ISBN-13 and false otherwise. Also return true if the string is a valid ISBN-10 and write unit test in [login to view URL]
N° de projet : 18793695

Concernant le projet

2 propositions
Projet à distance
Actif à il y a 5 ans

Cherchez-vous à gagner de l'argent ?

Avantages de faire une offre sur Freelancer

Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux
2 freelances proposent en moyenne $68 USD pour ce travail
Avatar de l'utilisateur
Hi there, Hope you are doing good!!! I have gone through your requirement regarding project and found this to be a perfect match. I am confident to do this Job. I have 7+ years of experience in word press development and design. >  Language : PHP >  Frontend tool: HTML,bootstrap,CSS > Wordpress theme and plugin development,customization, PSD to Wordpress >  Scripting language: JS, javascript, Jquery, AJAX, Angular, Angular2, NodeJS, ReactJS. 100% project completion guarantee, high quality, security, expert development with professional source code. Thanks & Regards
$25 USD en 1 jour
5,0 (3 commentaires)
3,6
3,6
Avatar de l'utilisateur
I have designed a ISSN checker in past. I can design an ISBN checker too. We make it with highest quality and lowest price. Just contact me for further details.
$111 USD en 7 jours
0,0 (0 commentaires)
0,0
0,0

À propos du client

Drapeau de UNITED STATES
Riverside, United States
1,4
1
Membre depuis nov. 13, 2018

Vérification du client

Merci ! Nous vous avons envoyé un lien par e-mail afin de réclamer votre crédit gratuit.
Une erreur a eu lieu lors de l'envoi de votre e-mail. Veuillez réessayer.
Utilisateurs enregistrés Total des travaux publiés
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Chargement de l'aperçu
Permission donnée pour la géolocalisation.
Votre session de connexion a expiré et vous avez été déconnecté. Veuillez vous connecter à nouveau.