daily pastebin goal
83%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function explode(values){
  2.   var vals = '';
  3.     if (values.length > 1){
  4.         for(var item in values){
  5.             vals = vals + values[item] + ', ';
  6.         }
  7.     } else {
  8.         vals = values[0];
  9.     }
  10.     return vals;
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top