JSFiddle - React, Tailwind, and code Playground
by 1UnitedPower
JavaScript
Boolean.prototype.negate = function(){
return ( this == true ) ? false : true;
}
console.log( false.negate() );
by 1UnitedPower
Boolean.prototype.negate = function(){
return ( this == true ) ? false : true;
}
console.log( false.negate() );