public/js/app.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
function destroy(playlistId) {
    API.del("playlists", [playlistId]).then(function (playlists) {
      playlists = converter.toSimple(playlists);
    })["catch"](function (error) {
      console.log(error);
    });
  }
function destroy ( playlistId ) { API . del ( "playlists" , [ playlistId ] ) . then ( function ( playlists ) { playlists = converter . toSimple ( playlists ) ; } ) [ "catch" ] ( function ( 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