item코드 const로 변경 -  export function getArticles(articles){ const items = []; articles.forEach(function(article) { const item = article.val(); item['key'] = article.key; item.push(item); }) if(item && items.length>0) { return { type : ALL, articles : items.reverse() } } }