function Array2D(len) {
    var a = [];
    for (; len--; ) {
        a[len] = [];
    }
    return a;
}
Creates and fills an array with the value provided
@param {number} len
@param {() => T} valueProvider
@return {T}
@template T