Skip to content

BCN-ANDREA-AND-EDUARD - #9

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

BCN-ANDREA-AND-EDUARD#9
edtrias wants to merge 1 commit into
ironhack-labs:masterfrom
edtrias:master

Conversation

@edtrias

@edtrias edtrias commented Apr 3, 2017

Copy link
Copy Markdown

First Exercise


function separateIpsum() {
ipsumByWords = ipsum.replace(/,/g, "").replace(/\./g, "").split(" ");
var numberWords = ipsumByWords.length;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

you can also concatenate methods, so you can apply the .length to previous line

@matilore matilore closed this Apr 4, 2017
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