Flattens an object into a two-dimensional array.
@JS() external List<dynamic> flatten(Object object);