text: function heroicInv(arr) {
      const result = [];
      arr.forEach((el) => {
          let [name, level, items] = el.split(" / ");
          result.push({
              name, //short of name: name,
              level: Number(level),
              items: items ? items.split(", ") : []
          });
      });
      console.log(JSON.stringify(result));
  }
  heroicInv(['Isacc / 25 / Apple, GravityGun',
      'Derek / 12 / BarrelVest, DestructionSword',
      'Hes / 1 / Desolator, Sentinel, Antara']);