<script> var s=true; // console.log(String(s)); console.log(s.toString(s)); // console.log( typeof (true+"")); </script>