JSFiddle

  • bonzo deepEach

    exploring bonzo deepEach

    array = ['a','b',['aa','bb',['aaa','bbb','ccc']],'c'];
    els = $("li");
    
    function p(el, i, ar) {
        console.log(el, i ...