Cartesian product of multiple arrays in JavaScript April 23, 2022 by Tarik Cartesian product of multiple arrays in JavaScript