<script type="text/javascript">
$(document).ready(function () {
var SOME_ID= 234;
});
</script>
<script type="text/javascript" src="<%= HtmlExtension.ScriptFile("~/somefile.js") %>"></script>
An issue is encountered where the .js file is attempting to utilize the value of SOME_ID, but an error indicates that SOME_ID is not defined.
Is this expected behavior based on the given code?