Skip to content

Instantly share code, notes, and snippets.

@pappu687
Last active August 29, 2015 14:01
Show Gist options
  • Save pappu687/7678f30d58d8f6dfc2c6 to your computer and use it in GitHub Desktop.
Save pappu687/7678f30d58d8f6dfc2c6 to your computer and use it in GitHub Desktop.
JavaScript Global
<html>
<head>
<script src="js-1.js"></script>
<script src="js-2.js"></script>
</head>
<body>
</body>
</html>
test="Test Me";
var test3="Test3 Called";
var test2="Test 2 Called";
function testme(){
console.log(test2);
console.log(test3);
}
testme();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment