code: function getDotSeparatedPath(path) {
    return path.split('.').reduce((splitPath, pathItem) => !pathItem ? splitPath : [...splitPath, getKey(pathItem)], []);
  }
docs: @function getDotSeparatedPath
  
  @description
  get the path separated by periods as an array of strings or numbers
  
  @param {string} path the string path to parse
  @returns {Array<number|string>} the parsed string path as an array path