Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -22,7 +22,7 @@ const getQueryURL = (i) => { | ... | @@ -22,7 +22,7 @@ const getQueryURL = (i) => { |
22 | //모든 page의 item을 list에 push해서 return하는 함수 | 22 | //모든 page의 item을 list에 push해서 return하는 함수 |
23 | const getItemsList = async(queryUrl) => { | 23 | const getItemsList = async(queryUrl) => { |
24 | let i = 1, getItem = null, items = null; | 24 | let i = 1, getItem = null, items = null; |
25 | - const result = new Array(); | 25 | + const result = []; |
26 | 26 | ||
27 | while(true) { | 27 | while(true) { |
28 | getItem = await axios.get(queryUrl(i)); | 28 | getItem = await axios.get(queryUrl(i)); | ... | ... |
-
Please register or login to post a comment