jQuery each
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 //1번째 each /* let d = $('div').each();*/ let d = $('div').each(function(index, item){ // console.log(index); //0부터3 출력 // console.log(item); //a-1부터 a-4 출력 return $(item).text($(item).text() + "입니다"); //아이템의 텍스트에(아이템 텍스트를) 넣는다? }); //2번째 each 배열을 사용할때는 $.each사용 $.each(['a','b','c'], function(index,value){ // console.log(index); //0,1,2 // con..