To create empty values string in JavaScript, you can try to run the following code −
Example
<html>
<head>
<script>
var val;
val = "";
document.write("Value: "+val);
document.write("<br>Type: "+typeof val);
</script>
</head>
<body>
</body>
</html>