Skip to content

PARIS javascript-basic-algorithms Miguel Bento - #356

Closed
MiguelIronHack wants to merge 3 commits into
ironhack-labs:masterfrom
MiguelIronHack:master
Closed

PARIS javascript-basic-algorithms Miguel Bento#356
MiguelIronHack wants to merge 3 commits into
ironhack-labs:masterfrom
MiguelIronHack:master

Conversation

@MiguelIronHack

Copy link
Copy Markdown

No description provided.

} else {
console.log('What?! You both got the same name?');
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

toLowerCase() is not relevant when it comes to lexicographic order because it change the value of the letter. Cap letter and lower case as different value. Check localCompare()

@ta-web-paris

Copy link
Copy Markdown

Wp ! its great ! methods or for loops, its your choice !

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants