pastebin

Paste Search Dynamic
Recent pastes
arr join
  1. var arr = ["a", "b", "c", "d", "e","f","g"];
  2.  
  3. var str = arr.join();
  4. console.log(str); // a,b,c,d,e,f,g
  5.  
  6. // join array elements
  7. // without separator
  8. str = arr.join("");
  9. console.log(str);
Parsed in 0.003 seconds