how to split a sentence into an array | JavaScript interview Questions

Published --