JavaScript में खाली मान स्ट्रिंग बनाने के लिए, आप निम्न कोड चला सकते हैं:
उदाहरण
<html>
<head>
<script>
var val;
val = "";
document.write("Value: " + val);
document.write("<br>Type: " + typeof val);
</script>
</head>
<body>
</body>
</html>