JavaScript: Functions
Posted: Sun Aug 03, 2025 11:34 am
Code: Select all
<!DOCTYPE html>
<html>
<head><title>JavaScript Examples</title></head>
<body>
<script>
function say_name$(name){
return "Hi {name}. Welcome to Hosting Chatter."
}
say_name$(Gary)
// It returns "Hi Gary. Welcome to Hosting Chatter.
</script>
</body>
</html>