SyntaxFix
Write A Post
Hire A Developer
Questions
Use a double not:
!!1 = true; !!0 = false; obj.isChecked = !!parseInt(obj.isChecked);