Add string and integer together : Arithmetic operator : Operators JAVASCRIPT TUTORIALS


JAVASCRIPT TUTORIALS » Operators » Arithmetic operator »

 

Add string and integer together

















<html>
<head>
<title>A Simple Page</title>
<script language="JavaScript">
<!--
var A = "10", B = 5;
C = A + B;
alert(C);
//  -->
</script>
</head>
<body>

</body>
</html>







HTML code for linking to this page:

Follow Navioo On Twitter

JAVASCRIPT TUTORIALS

 Navioo Operators
» Arithmetic operator