code: function drawLine (colWidth) {
    let s = ''
    for (let i = 0; i < colWidth.length; i++) {
      s += '+'
      for (let j = 0; j < colWidth[i]; j++) {
        s += '-'
      }
    }
    console.log(s + '+')
  }
docs: 画字符串表格