Get all subscribers in JavaScript (jQuery)

Hello!

I modified the code as I commented @while-loop hile-loop and it was as follows:

$(function() {

	var getInfo = function(callback) {
		Twitch.api({method: 'channel'}, function(error, channel)
		{
		  callback(channel);
		});
	}

	var getSubs = function(callback)
	{
		Twitch.api({method: 'subscriptions'}, function (error, subs)
		{
			callback(subs);
		});
	}

	 Twitch.init({clientId: 'sml88j76t9raxkfszgpa0p1znxdowhe'}, function(error, status) {
	 	
	 	console.log(status);

	 	if (status.authenticated) {
	 		$('.twitch-connect').hide();

	 		getInfo(function(data) 
	 		{
	 			$('strong').text(data.display_name);
	 			$('#picture').attr('src', data.logo);
	 			$('#visit').text('Visita mi canal').attr('href', data.url);
	 		});

	 		getSubs(function(data)
	 		{
	 			console.log(data);
	 		});

	 	} else {
	 		$('#login-info').hide();
	 	}   

	 });

	 var login = function()
	 {
	 	Twitch.login({
		  scope: ['user_read', 'channel_read', 'channel_subscriptions']
		});
	 }

	 var logout = function()
	 {
	 	Twitch.logout(function(error) {
		    $('.twitch-connect').show();

		    $('strong').text('');
		    $('#picture').attr('src','');
		    
		    $('#login-info').hide();
		});
	 }

	 $('.twitch-connect').click(function(e) {
	 	e.preventDefault();

	 	login();
	 })

	 $('.twitch-disconnect').click(function(e) {
	 	e.preventDefault();

	 	logout();
	 })

})

This code returns me the following:

The only thing I want to know is if the user is subscribed to a single channel, nothing more.

I would like to check if that user that logged in is subscribed to my channel.

Thank you very much.