# splitByValue

Splits and clumps together an array of elements by using a separator.

splitByValue([1, 2, 3, 4, "x", 5, 6, 7, 8], "x"); // [[1, 2, 3, 4], [5, 6, 7, 8]]