funcifyr.js
function(value, times) {
        if (Array.fill) {
          return new Array(times).fill(value);
        }
        return Array.apply(null, Array(+times)).map(function() {
          return value;
        });
      }
function(value, times) {
        if (Array.fill) {
          return new Array(times).fill(value);
        }
        return Array.apply(null, Array(+times)).map(function() {
          return value;
        });
      }
function ( value , times ) { if ( Array . fill ) { return new Array ( times ) . fill ( value ) ; } return Array . apply ( null , Array ( + times ) ) . map ( function ( ) { return value ; } ) ; }
Returns an array filled with a value repeated a number of times.

fill :: (n, n) → arr

@param (value, times) - The value to fill, and the length of the new array
@returns array
Returns an array filled with a value repeated a number of times .