标签:style color java ar on c new javascript r
<script type="text/javascript">
var string1="apple";
var string2="Banana";
string1=string1.toLowerCase();
string2=string2.toLowerCase();
document.write(string1<string2);
document.write("<br>");
var str1=new String("a");
var str2=new String("a");
document.write(str1==str2); //false
document.write("<br>");
document.write(str1.valueOf()==str2.valueOf()); // true
document.write("<br>");
var str3="a";
var str4="a";
document.write(str3==str4);
</script>
标签:style color java ar on c new javascript r
原文地址:http://www.cnblogs.com/vonk/p/3968242.html