<!DOCTYPE html>
<html>
<body>
<script>
var x = 2 + 3 + "5";
alert(x); // 55
</script>
</body>
</html>
Most Helpful This Week
How to declare and print value of variable in JavaScript?
JavaScript example to change image on click
How to current URL, HOST and URL attributes using JavaScript or jQuery?
Get largest number from each sub-arrays
How to build simple tabs with jQuery?
Generate random password for form field on click using JavaScript