String.prototype.multiplyTimes = function(n) {
      return Array.prototype.join.call({length:n+1}, this);
    };

 

相关文章:

  • 2021-12-26
  • 2022-02-12
  • 2021-06-28
  • 2021-09-30
  • 2021-10-02
猜你喜欢
  • 2021-09-04
  • 2021-06-06
  • 2022-12-23
  • 2022-02-23
  • 2022-12-23
  • 2021-12-12
相关资源
相似解决方案