If I have a variable in the <script> tags of an HTML document; lets call it example.
How can I access example in my JavaScript file?
<!DOCTYPE html>
<head>
<link rel="stylesheet" type="text/css" href="css/example.css">
<link rel="icon" href="https://www.example.com/icon.png">
<title>Exsample</title>
</head>
<body>
<script>
var example = "example"
</script>
</body>