$.get( "https://www.googleapis.com/youtube/v3/search?key=AIzaSyADqbsZvs7OK8aeDuAzW113EV191oiTaaI&channelId=UCjok1uTSBUgvRYQaASz6YWw&part=snippet,id&order=date&maxResults=1", function( data ) {}
const request = $.get( "https://www.googleapis.com/youtube/v3/search?key=AIzaSyADqbsZvs7OK8aeDuAzW113EV191oiTaaI&channelId=UCjok1uTSBUgvRYQaASz6YWw&part=snippet,id&order=date&maxResults=1")|
request.error(function(_, textStatus, errorThrown) {
if (textStatus == 'timeout')
console.log('The server is not responding');
if (textStatus == 'error')
console.log(errorThrown);
});