Sha256: 7f8bbd56dca3403d4aa72ec12c20cd9ccfb1493f1a7138c9d2e7171c5ca83542
Contents?: true
Size: 316 Bytes
Versions: 36
Compression:
Stored size: 316 Bytes
Contents
/*! * repeat-element <https://github.com/jonschlinkert/repeat-element> * * Copyright (c) 2015 Jon Schlinkert. * Licensed under the MIT license. */ 'use strict'; module.exports = function repeat(ele, num) { var arr = new Array(num); for (var i = 0; i < num; i++) { arr[i] = ele; } return arr; };
Version data entries
36 entries across 36 versions & 15 rubygems