code: function getElemVarFromPath( path, _root ) {
      const root = typeof _root !== "undefined" ? _root : "that";
      const items = path.split( "/" ).map( function ( item ) {
          return camelCase( item.trim() );
      } );
      const result = items.map( function ( x, i ) {
          if ( i === 0 && items.length > 1 ) return `.$elements${keySyntax(x)}`;
          return `.${camelCase(x)}`;
      } );
      return `${root}${result.join("")}`;
  }
docs: A path is a string which represent a variable.
  For instance: "price" or "plateau/animate-direction".
  
  @example
  getElemVarFromPath("price") === "that.price"
  getElemVarFromPath("plateau/animate-direction") ===
  "that.$elements.plateau.animateDirection"
  
  @param {string} path - "price", "plateau/animate-direction", ...
  @param {string} _root - Optional (default: "that").
  @returns {string} Javascript code to access the variable defined by the path.