Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[MAD PP] Luis Alberto Peña & Roberto Marrero#691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
LuisAPPDev wants to merge1 commit intoironhack-labs:masterfromLuisAPPDev:master

Conversation

LuisAPPDev
Copy link

Terminado.

Entretenido y útil para coger soltura.

Copy link

@ta-web-madta-web-mad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Hola chicos,

El ejercicio está muy bien! Seguir asi!!
Os he dejado un pequeño comentario respecto al orden de nombres por si queréis echarle un ojo

Sandra

Comment on lines 49 to 60
if(hacker1[0]<hacker2[0]){

console.log(`The Driver's name goes first.`);

}elseif(hacker1[0]>hacker2[0]){

console.log(`Yo, the navigator goes first definetely.`);

// Iteration 3: Loops
}else{
console.log(`What?! You both have the same name?`);
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

La solución que habéis encontrado está bien, pero pensar que si vuestros nombres empiezan por la misma letra no va a seguir comparando y daría el primero que encuentre.
Os animo a que os mireis en mdn el .localeCompare

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

1 more reviewer

@ta-web-madta-web-madta-web-mad left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@LuisAPPDev@ta-web-mad

[8]ページ先頭

©2009-2025 Movatter.jp