I am getting values as True and False from back-end. I am trying to convert those values as real Boolean values, But I am getting always true with my approach. What would be the correct way to do this?
here is my try:
var x = Boolean("False".toLowerCase());
console.log( x ); //giving true instead of false.