function csv_row(original_row_data) {
    var row_data = original_row_data.slice()
    // if row_data has at least 1 element, extract and sanitise first element
    // else start_element is empty string
    var start_element = (row_data.length > 0)
        ? sanitise_csv_cell(row_data.shift())
        : ''
    // concat each row_data with a comma
    return row_data.reduce(function(accumulator, currentValue) {
        return accumulator + ',' + sanitise_csv_cell(currentValue)
    }, start_element)
}
Returns a CSV-formatted string that denotes a row in a CSV file
@param {string[]} row_data a 1-D array of strings denoting data to
encode as a CSV row