node-style-guide icon indicating copy to clipboard operation
node-style-guide copied to clipboard

Programmatic building of strings

Open vipero07 opened this issue 10 years ago • 0 comments

Your two examples are not equal, when using join you end up with an empty

  • whereas in the concat example you wouldn't. You'd need to concat the
  • and
  • in the for loop and do a .join('') to have the same result.

    vipero07 avatar May 21 '15 22:05 vipero07