k=0
for(var i=0i<5i++){
a[i]=new Array()
for(var j=0j<5j++){
k+=1
a[i][j]=k
if(i>=j){
document.write(a[i][j]+"")
}
}
document.write("<br/>")
}
var data = [[13,'a'],
[23,'b'],
[18,'c'],
[7,'d'],
[50,'e'],
[22,'f'],
[19,'g']
]
var tt = data.sort(function(a,b){ return a[0] -b[0]})
console.log(tt)
const numberArr = [
{title: '单选题', queList: ['a','b','c','d','e','f']},
{title: '多选题', queList: ['a','b','d','e','f']},
{title: '判断题', queList: ['a','f']},
]
let i = 1
numberArr.forEach(item =>{
const {title, queList} = item
console.log(title)
queList.forEach(que =>{
console.log(`${i++}、${que}`)
})
})