CJCoding With Joseph

map: Get Word Lengths

Use map to build an array of the length of each word, then print the lengths joined by ", ".

Expected output:

2, 5, 3

Expected Output:

2, 5, 3
Topics:
Loops
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (clog, fn, fori)

Your Output

Run your code to see the output here...

Test Cases

Run your code to see test case results.