Skip to content

BCN - Giulia - #270

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

BCN - Giulia #270
GiuliG wants to merge 1 commit into
ironhack-labs:masterfrom
GiuliG:master

Conversation

@GiuliG

@GiuliG GiuliG commented Oct 23, 2018

Copy link
Copy Markdown

No description provided.

for (let i = hacker.length-1; i>= 0; i--){
let reverseName = hacker[i];
console.log(reverseName);
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Try with that to display the reverse name all together

var reverseName = '';
for (var ix = hacker2.length -1; ix >= 0; ix--) {
 reverseName += hacker2[ix]  
}

console.log(reverseName);

@tawebbcn tawebbcn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work!!

@tawebbcn tawebbcn closed this Oct 23, 2018
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