function addObjects(objList) {
    if (!objList) {
      return
    }
    for (let i = 0, n = objList.length; i < n; ++i) {