javascript dump array code example
Example 1: javascript var dump
//common way
console.log(object);
//for non-browser srcipts
console.log( JSON.stringify(object, null, 2) ); // spacing level = 2
Example 2: jquery var_dump array
dump(field.choices[i]);