function addToArray(string, qt) {
  const array = stringToArray(string);
  array.push(qt);
  return arrayToString(array);
}
/**
 * Convert string to Array then add element and again conver
 * to string
 *
 * @param {string} string - string of array
 * @param {integer} qt - queueTime
 * @returns {string} string - string of array
 */
Convert string to Array then add element and again conver
to string


Convert string to Array then add element and again conver to string
function addToArray(string, qt) {
  const array = stringToArray(string);
  array.push(qt);
  return arrayToString(array);
}
function addToArray ( string , qt ) { const array = stringToArray ( string ) ; array . push ( qt ) ; return arrayToString ( array ) ; }
Convert string to Array then add element and again conver
 to string
Convert string to Array then add element and again conver to string