I wonder if `a instanceof Array` or `Array.isArray(a)` is better... Quick google search gave no indication.