const routes = [
{
path: '/qna',
name: 'QnA',
// route level code-splitting
// this generates a separate chunk (qna.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "qna" */ '../views/QnA.vue')
},
$result = [];
foreach ($arr1 as $index => $item) {
$result[] = $item . $arr2[$index % count($arr2)];
}
когда во втором заканчиваются значения