Timeline for The difference between the placements of .length
Current License: CC BY-SA 3.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 11:45 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Jan 28, 2017 at 9:30 | history | edited | Nina Scholz | CC BY-SA 3.0 |
added 1791 characters in body
|
| Jan 28, 2017 at 0:43 | comment | added | Saia Fonua |
I'm just curious why this line var splitStr = str.split(" ").length; wouldn't work because var splitStr is holding the length of the array which is 9!
|
|
| Jan 27, 2017 at 22:25 | history | answered | Nina Scholz | CC BY-SA 3.0 |