/*! * repeat-element <https://github.com/jonschlinkert/repeat-element> * * Copyright (c) 2015-present, Jon Schlinkert. * Licensed under the MIT license. */'use strict';module.exports=functionrepeat(ele,num){vararr=newArray(num);for(vari=0;i<num;i++){arr[i]=ele;}returnarr;};