javascript display text depending on boolean value code example
Example: get string value of boolean javascript
// boolean.toString()
let stringTrue = true.toString();
let stringFalse = false.toString();
// boolean.toString()
let stringTrue = true.toString();
let stringFalse = false.toString();