Quick Tip :Way to String Build

The fastest way to Build string in JavaScript. Use native method join() instead of for loop.

var arr = ['item 1', 'item 2', 'item 3', ...];
var list = '
‘ + arr.join(‘‘) + ‘';

It was a very useful way  in my task day to day task