ARROW-9479: [JS] Fix Table.from for zero-item serialized tables, Table.empty for schemas containing compound types (List, FixedSizeList, Map)
ARROW-9479: [JS] Fix Table.from for zero-item serialized tables, Table.empty for schemas containing compound types (List, FixedSizeList, Map)

Steps for reproduction:
```js
const foo = new arrow.List(new arrow.Field('bar', new arrow.Float64()))
const table = arrow.Table.empty(foo) // ⚡
```

The Data constructor assumes childData is either falsey, a zero-length array (still falsey, but worth distinguishing) or a non-zero length array of valid instances of Data or objects with a data property. Coercing undefineds to empty arrays a little earlier for compound types (List, FixedSizeList, Map) avoids this.

Closes #7771 from H-Plus-Time/ARROW-9479

Authored-by: H-Plus-Time <6dac0905ba45e881cf838965b9ecc090406bf426@gmail.com>
Signed-off-by: Brian Hulette <f3ed8be3d3fd20612a91f393e5ec158857802345@google.com>

apache/arrow,kou/arrow,kou/arrow,wesm/arrow,laurentgo/arrow,xhochy/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,kou/arrow,icexelloss/arrow,cpcloud/arrow,icexelloss/arrow,wesm/arrow,icexelloss/arrow,kou/arrow,kou/arrow,apache/arrow,wesm/arrow,cpcloud/arrow,xhochy/arrow,laurentgo/arrow,cpcloud/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,apache/arrow,xhochy/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,kou/arrow,cpcloud/arrow,wesm/arrow,xhochy/arrow,apache/arrow,xhochy/arrow,xhochy/arrow,apache/arrow,apache/arrow,icexelloss/arrow,cpcloud/arrow,wesm/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,kou/arrow,wesm/arrow,cpcloud/arrow,xhochy/arrow,cpcloud/arrow,apache/arrow,kou/arrow,icexelloss/arrow,apache/arrow,xhochy/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,laurentgo/arrow,cpcloud/arrow,apache/arrow,xhochy/arrow,wesm/arrow,laurentgo/arrow,apache/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,icexelloss/arrow,xhochy/arrow,laurentgo/arrow,xhochy/arrow,kou/arrow,kou/arrow,laurentgo/arrow,cpcloud/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,xhochy/arrow,wesm/arrow,wesm/arrow,kou/arrow,icexelloss/arrow,xhochy/arrow,xhochy/arrow,xhochy/arrow