<html>
<body>
Hello World
<script src="app.js" charset="utf-8"></script>
</body>
</html>
In my app.js file, I have a lot of variables such as
var choice1_link=[[null,2,null,5,null,5],[null,2,null,5,null,5],[null,2,null,5,null,5]];
var choice2_link=[[null,2,null,4,null,4],[null,2,null,4,null,4],[null,2,null,4,null,4]];
var lastscene=[4,4,4];
I'd like to store these variables in another .js file and import them into my app.js main file. How would I do this? And do I also need to refer the second .js file(where I'm only storing the variables) to the HTML markup?