Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Update README.md #38

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,13 @@ It contains a minimal Hello World application with a single component.
-rw-r--r-- 14156 Feb 4 10:42 node_modules/zone.js/dist/zone.min.js.gz
```

To solve the issue-Cannot read property 'split' of undefined
Try these:
Split str into an array of individual words
Create a variable to track the greatest word length
Iterate through the array of words and compare the length of each word to the variable mentioned above
If the length of the current word is greater than the one stored in the variable, replace that value with the current word length.

See https://github.com/angular/angular/issues/8550 for more context.

# Try it
Expand Down