lib/escape.js
function wrap (str, quote) {
    if (this.typecheck) t.typecheck('wrap', [str, quote]);
    if (!quote||quote=="'") return "'"+str+"'";
    if (quote == '"') return '"'+str+'"';
    return quote+str+quote;
}
function wrap (str, quote) {
    if (this.typecheck) t.typecheck('wrap', [str, quote]);
    if (!quote||quote=="'") return "'"+str+"'";
    if (quote == '"') return '"'+str+'"';
    return quote+str+quote;
}
function wrap ( str , quote ) { if ( this . typecheck ) t . typecheck ( 'wrap' , [ str , quote ] ) ; if ( ! quote || quote == "'" ) return "'" + str + "'" ; if ( quote == '"' ) return '"' + str + '"' ; return quote + str + quote ; }
wrap string with quotes
wrap string with quotes