index.js
function filledarray(value, size){
  var a = new Array(size);
  for(var i=0; i<size; i++){a[i] = value;}
  return a;
}
function filledarray(value, size){
  var a = new Array(size);
  for(var i=0; i<size; i++){a[i] = value;}
  return a;
}
function filledarray ( value , size ) { var a = new Array ( size ) ; for ( var i = 0 ; i < size ; i ++ ) { a [ i ] = value ; } return a ; }
Returns an array of a given size filled with the given value.
Returns an array of a given size filled with the given value .