JavaScript also has boolean type, optional value, true or fasle.
The code copy is as follows:
var marr = true ;
document.write(typeof(marr) + "<br>");
var marr = "ture";
document.write(typeof(marr) + "<br>");
The ture or fasle of a boolean value are two completely different concepts. Marr is different to the boolean true and the string true respectively. The difference is obviously seen with the typeof() function.