function
var a = address.indexOf("시");
var b = address.indexOf("도"); // 숫자값이 저장된다.
if (a){
if ( !== -1){
return address.slice(0,b+2) + address.slice(a+2, address.length)
}
return address.slice(1,address.length)
}
}
let sumAmount=0;
let sumReview=0;
let sumLike=0;
let i;
for (i=0; i < salesArr.length; i++){
sumAmount += salesArr\[i\]\[1\];
sumReview += reviewArr\[i\]\[1\];
sumLike += likeArr\[i\]\[1\];
}
메타인지