I have 3 function in ajax and only 1 function returns a value. (playcal). why is this I know for sure the other function returns a function because I console.log them and it gives me an result.

HERE IS MY CODE

Code:
playerCal = function(confirmRows, pRatio){
	
	//Stores the player that makes the difference
	var mep = [];
	var w; 
	var d; 
	var l;

	(function($) {
	//Connects
...