r.js
function toAstArray(ary) {
        var output = [
            'array',
            []
        ],
        i, item;

        for (i = 0; (item = ary[i]); i++) {
            output[1].push([
                'string',
                item
            ]);
        }

        return output;
    }
function toAstArray(ary) {
        var output = [
            'array',
            []
        ],
        i, item;

        for (i = 0; (item = ary[i]); i++) {
            output[1].push([
                'string',
                item
            ]);
        }

        return output;
    }
function toAstArray ( ary ) { var output = [ 'array' , [ ] ] , i , item ; for ( i = 0 ; ( item = ary [ i ] ) ; i ++ ) { output [ 1 ] . push ( [ 'string' , item ] ) ; } return output ; }
Converts a regular JS array of strings to an AST node that
represents that array.
@param {Array} ary
@param {Node} an AST node that represents an array of strings.
Converts a regular JS array of strings to an AST node that represents that array .