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 destroyPlaylistSong(playlistSongId) {
    API.del("playlistSongs", [playlistSongId]).then(function () {})["catch"](function (error) {
      console.log(error);
    });
  }
function destroyPlaylistSong ( playlistSongId ) { API . del ( "playlistSongs" , [ playlistSongId ] ) . then ( function ( ) { } ) [ "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