JavaScript’s Array.prototype lacks a “partitionWith” function - so I wrote one
This function allows you to subdivide an array into two smaller arrays based on the outcome of passing each element to a predicate function.
#JavaScript#FunctionalJavaScript
Discovered a nice feature/annoying limitation of the underlying #mink NodeElement::click() in #Drupal#FunctionalJavascript#Tests. Click can only target buttons/links. Not really documented anywhere and uninformative error. Semantically, that is good for a lot of cases & never