Sha256: 11460986572b7b46b100de200512874089a32ba52709b9d126f352282ef21e8b
Contents?: true
Size: 325 Bytes
Versions: 38
Compression:
Stored size: 325 Bytes
Contents
/*! * repeat-element <https://github.com/jonschlinkert/repeat-element> * * Copyright (c) 2015-present, 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
38 entries across 37 versions & 12 rubygems