var number1=22;
var number2=33;
var string="kk"
var sum1=number1+number2;
document.write(sum1+"<br/>");
var sum2=number1+string;
document.write(sum2+"<br/>");
var sum3=string+number2;
document.write(sum3+"<br/>");
document.write('<br/>-------------------------------<br/>');
var left=1;
var right=2;
left+=right;
document.write(left+"<br/>");
left-=right;
document.write(left+"<br/>");
left*=right;
document.write(left+"<br/>");
left/=right;
document.write(left+"<br/>");
document.write('<br/>-------------------------------<br/>')
var logicOperation = false;
logicOperation = (left>right)&&(left<right)
document.write(logicOperation+'<br/>')
logicOperation = true&&(left<right)
document.write(logicOperation+'<br/>')
logicOperation = (left>right)||(left<right)
document.write(logicOperation+'<br/>')
logicOperation = (left>right)||false
document.write(logicOperation+'<br/>')
logicOperation = !(left>right)
document.write(logicOperation+'<br/>')
logicOperation = !(left<right)
document.write(logicOperation+'<br/>')
document.write('<br/>-------------------------------<br/>')
document.write(a);
document.write("Number('123'):" + Number("123") + "<br/>");
document.write("Number('3.1415'):" + Number("3.1415") + "<br/>");
document.write("Number('hao123'):" + Number("hao123") + "<br/>");
document.write("Number('100px'):" + Number("100px"));
document.write("parseInt('+123'):" + parseInt("+123") + "<br/>");
document.write("parseInt('-123'):" + parseInt("-123"));
document.write("parseFloat('123'):" + parseFloat("123") + "<br/>");
document.write("parseFloat('3.1415'):" + parseFloat("3.1415") + "<br/>");
document.write("parseFloat('hao123'):" + parseFloat("hao123") + "<br/>");
document.write("parseFloat('100px'):" + parseFloat("100px"));
var a = 2018 + "";
var b = a + 1000;
document.write(b);
document.write('<br/>-------------------------------<br/>')
document.write("\"复仇者\"联盟");
console