아래에 소스코드 대로 했는데 for문은 되는데 forEach가 작동하지 않습니다.
왜 그런지 잘 모르겠습니다.
$.get('./img/store.json').done(function(data){
// console.log(data.products[1].title);
// console.log(data.products[2].title);
data.forEach((a, i)=>{
var 데이터 = `<div class="col-sm-4">
< img src="${a.products[i].photo}" class="w-100">
<h5>${data.products[i].brand}</h5>
<h5>${data.products[i].title}</h5>
<p>가격 : ${data.products[i].price}</p>
</div>`
$('.row').append(데이터);
})