JSFiddle - React, Tailwind, and code Playground

by 규연 황

JavaScript

var list = ['t1','t2','t3','t4','t5','t6','t7']

var list2 = list.slice(0,3)
var list3 = list.slice(3)

console.log(list2, list3)