Write a JavaScript program to display unicode of a character.
<html>
<head>
<title>Display unicode of a character</title>
</head>
<body>
<script>
var ch = 'h'
var n = ch.charCodeAt()
document.write("<br>The letter 'h' has a unicode as: " + n);
</script>
</body>
</html>
