var $condition1 = true;
var $condition2 = false;//true;
var $condition3 = true;
var index = 0;
if ((index++, $condition1) && (index++, $condition2) && (index++, $condition3)) {
alert('All TRUE')
} else {
alert('Condition is FALSE: '+ index);
}
console.log(minSum);
console.log(parseFloat(minSum))
console.log(<?=$_SESSION['totalbasket']?>);
console.log(parseFloat(<?=$_SESSION['totalbasket']?>));
parseFloat(<?php echo $_SESSION['totalbasket'];?>