Skip to content

MIA-FTWD Steven Englander / Alfredo Rojas#430

Closed
sci4punk wants to merge 1 commit into
ironhack-labs:masterfrom
sci4punk:master
Closed

MIA-FTWD Steven Englander / Alfredo Rojas#430
sci4punk wants to merge 1 commit into
ironhack-labs:masterfrom
sci4punk:master

Conversation

@sci4punk

Copy link
Copy Markdown

… the Bonus work

console.log(`wow, you both got equally long names, ${hacker1.length} characters!!`)
}

let hacker1UpperSpaced = hacker1.toUpperCase();

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice job condensing this step into just two lines! Same goes for the reversed string as well.

@@ -1,7 +1,37 @@
// Names and Input
let hacker1 = "Alfredo";
console.log(`The driver's name is ${hacker1}`);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Big fan of the newer string concatenation syntax using backticks. Very good habit to get into early!

let lowerCaseString = userString.toLowerCase();

/*
function isPalindrome (lowerCaseString) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

With palindromes, make sure you reverse the string first and see what it looks like.

@ta-web-mia

Copy link
Copy Markdown

Nice work! Keep it up 👍
-Nick

@ta-web-mia ta-web-mia closed this Jun 10, 2019
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.

2 participants