code: function(n, indexMapFn) {
      n = coercePositiveInteger(n);
      return Array.from(new Array(n), function(el, i) {
        return indexMapFn && indexMapFn(i);
      });
    }
docs: *
  
  @method construct(n, indexMapFn)
  @returns Array
  @static
  @short Constructs an array of `n` length from the values of `indexMapFn`.
  @extra This function is essentially a shortcut for using `Array.from` with
  `new Array(n)`.
  
  @callback indexMapFn
  
  i   The index of the current iteration.
  
  @example
  
  Array.construct(4, function(i) {
  return i * i;
  }); -> [0, 1, 4]
  
  @param {number} n
  @param {indexMapFn} indexMapFn
  @callbackParam {number} i
  @callbackReturns {ArrayElement} indexMapFn
  
  *