console.log('hello world'); //Nothing in the console!
Alright, I would not be creating a blog post if I did not have an answer to this. The answer is kindda embarassing but I hope it can save some time for someone else out there. The problem was that I had written the script in this way:
<script src="SomeScript.js" />
I had used a self closing tag! and not a beginning and closing tag. What really annoys me is that in chrome I do see the script being loaded. It's just that nothing happens. All I had to do was to change the above to the following:
I hope this helps someone out there! Let me know in the comments if it did :)