powerdong / myProblems

我用到了,你可能用到
0 stars 1 forks source link

初始化月份对象 #37

Open powerdong opened 4 years ago

powerdong commented 4 years ago
Array.from({length: 12}).map((item, index) => ({value: index + 1}))