Creates two new arrays based on a single input array and a predicate function.
Primary LanguageJavaScript