concatenation
concatenation
<html>
<head>
<title>concatenation</title>
</head>
<body>
<h1>concatenation</h1>
<script>
//concatenation
//ask user for name
//By Ryan Te
//9/18/07
var userName;
var greeting;
userName = prompt("What is your name?");
greeting = "hi, " + userName + "!!"
alert(greeting);
</script>
</body>
</html>