<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<script type="text/javascript" src="js/controller2-4.js">
</script>
</body>
</html>
iNum = Number.POSITIVE_INFINITY;
document.write('iNum = ' + iNum + '<br>');
var sToken = 'hello"\' world!';
document.write('sToken = ' + sToken + '<br>');
sToken = 'hello world!';
document.write('sToken = ' + sToken + '<br>');
var sToken2 = sToken.concat(' abc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc', ' ccc我');
document.write('sToken2 = ' + sToken2 + '<br>');
document.write('sToken2.length = ' + sToken2.length + '<br>');
sToken2 = 'hello world!';
var iLength = sToken2.indexOf('o');
document.write('charAt = ' + sToken2.charAt(iLength) + '<br>');
document.write('substring = ' + sToken2.substring(0, iLength + 1) + '<br>');
sToken2 = 'abcd abce a234 1341234 asdfsdf';
var iStart = sToken2.indexOf(' '), iEnd;
if(iStart != -1){
iEnd = sToken2.indexOf(' ', iStart + 1);
if(iEnd != -1){
document.write('substring = [' + sToken2.substring(iStart + 1, iEnd) + ']<br>');
}
}
var bCheck = (12 == 2);
document.write('bCheck = ' + bCheck + '<br>');
var oTemp;
document.write('oTemp = ' + oTemp + '<br>');
document.write('oTemp2 = ' + typeof oTemp + '<br>');
oTemp = 1;
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
oTemp = 'abc';
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
oTemp = true;
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
oTemp = null;
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
oTemp = undefined;
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
var oTemp233;
document.write('typeof oTemp = ' + typeof oTemp + '<br>');
document.write('(undefined == undefined)' + (undefined == undefined) + '<br>');
document.write('(null == null)' + (null == null) + '<br>');
document.write('(undefined == null)' + (undefined == null) + '<br>');