client/js/utils/PlaylistUtils.js
/**
   * @param {string} playlistId The unique id of the playlist object
   * @param {integer} songInex The unique id of the song object
   */
@param {string} playlistId The unique id of the playlist object
@param {integer} songInex The unique id of the song object
@param { string } playlistId The unique id of the playlist object @param { integer } songInex The unique id of the song object
destroy(playlistId) {
    API.del('playlists', [playlistId])
      .then((playlists) => {
        playlists = converter.toSimple(playlists);
      })
      .catch((error) => {
        console.log(error);
      });
  }
destroy ( playlistId ) { API . del ( 'playlists' , [ playlistId ] ) . then ( ( playlists ) => { playlists = converter . toSimple ( playlists ) ; } ) . catch ( ( error ) => { console . log ( error ) ; } ) ; }
@param {string} playlistId The unique id of the playlist object
 @param {integer} songInex The unique id of the song object
@param { string } playlistId The unique id of the playlist object @param { integer } songInex The unique id of the song object