src/aria/utils/Path.js
function (pathParts) {
            var path = [pathParts[0]];
            for (var index = 1, len = pathParts.length; index < len; index++) {
                path.push("[\"" + ("" + pathParts[index]).replace(/"/gi, '\\"') + "\"]");
            }
            return path.join('');
        }
function (pathParts) {
            var path = [pathParts[0]];
            for (var index = 1, len = pathParts.length; index < len; index++) {
                path.push("[\"" + ("" + pathParts[index]).replace(/"/gi, '\\"') + "\"]");
            }
            return path.join('');
        }
function ( pathParts ) { var path = [ pathParts [ 0 ] ] ; for ( var index = 1 , len = pathParts . length ; index < len ; index ++ ) { path . push ( "[\"" + ( "" + pathParts [ index ] ) . replace ( / " / gi , '\\"' ) + "\"]" ) ; } return path . join ( '' ) ; }
Transform an array of paths part into a path
@param {Array} pathParts
@return {String}
Transform an array of paths part into a path