javascript|字符串
<script >
function evil()
{
var toint=parseInt("123");
var intvalue=123;
var tostr=intvalue.toString();
var my_friends ="trixie,moxie,sven,guido,hermes";
var friend_array =my_friends.split(",");
for (loop=0; loop < friend_array.length;loop++)
{
document.writeln(friend_array[loop] + " is myfriend.
");
}
}
</script>