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

Appearance settings

Conversation

@sci4punk
Copy link

… the Bonus work

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

let hacker1UpperSpaced = hacker1.toUpperCase();

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}`);

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) {

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

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.