The Unicode bell character is not working in my code

Viewed 92

Could someone tell me why the JavaScript Unicode bell is not working for me? My JS code:

console.log("\u0007")

Google Chrome's console is showing this --> image

My full code:

<!DOCTYPE html>
<html>
<body>
<script>console.log("\u0007")</script>
<h1 style="background-color: red;">Hello World!</h1>
<p>This is a paragraph.</p>

</body>
</html>

Thank you.

0 Answers
Related