परिवर्तन करने के लिए सच है झूठी जे एस
var thing = true; //try changing this to false
thing = !thing; //the variable will go from true to false, or from false to true
से 0 या 1 करने के लिए बूलियन जावास्क्रिप्ट
parse: function (response) {
response.isChecked = !!+response.isChecked;
return response;
}