Codewars Convert a string to an array

Опубликовано: 16 Апрель 2026
на канале: FuzeTox
504
4

Write a function to split a string and convert it into an array of words.

Examples (Input Output):
"Robin Singh" == ["Robin", "Singh"]

"I love arrays they are my favorite" == ["I", "love", "arrays", "they", "are", "my", "favorite"]
#arrays #strings #fundamentals #javascript #fuzetox