code: function setPropertyOfPath(obj, path, value) {
      const [child, last] = getLeafOfPath(obj, path);
      if (child && last) {
          child[last] = value;
      }
  }
docs: Sets a value to object by path
  @memberOf util