이승규

syntax error solved

...@@ -131,7 +131,7 @@ router.get('/Cname/:Cname/Cbirth/:Cbirth', (req,res) => { ...@@ -131,7 +131,7 @@ router.get('/Cname/:Cname/Cbirth/:Cbirth', (req,res) => {
131 dataLen, 131 dataLen,
132 name, 132 name,
133 birth, 133 birth,
134 - factorArr, 134 + factorArr
135 }); 135 });
136 } 136 }
137 }); 137 });
......
...@@ -176,10 +176,11 @@ ...@@ -176,10 +176,11 @@
176 i++; 176 i++;
177 } 177 }
178 178
179 - <% for(var n; n < probArr.length; n++) {%> 179 + <% for(var n = 0; n < factorArr.length; n++) {%>
180 var temp, temp2; 180 var temp, temp2;
181 temp = <%=probArr[n] %>; 181 temp = <%=probArr[n] %>;
182 - temp2 = <%=factorArr[n] %>; 182 + temp2 = '<%=factorArr[n] %>';
183 + console.log(temp2);
183 184
184 // for(;j<10;j++) 185 // for(;j<10;j++)
185 // { 186 // {
......