Có, có thể chuyển đổi một chuỗi thành Boolean.
Ví dụ
Bạn có thể thử chạy đoạn mã sau để đạt được điều này -
<html>
<head>
<title>JavaScript Boolean</title>
</head>
<body>
<script>
var answer = true;
document.write(answer);
var result = (answer == 'true');
document.write("<br>"+result);
</script>
</body>
</html>