Skip to content

Instantly share code, notes, and snippets.

@gauravbansal74
Created March 27, 2016 08:36
Show Gist options
  • Save gauravbansal74/c842678133aa2028d146 to your computer and use it in GitHub Desktop.
Save gauravbansal74/c842678133aa2028d146 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Sample Page</title>
<script src="js/main.js"></script>
<script src="js/utill.js"></script>
</head>
<body>
<p>Look at source or inspect the DOM to see how it works.</p>
</body>
</html>
var main = utill;
main.getAlert();
var utill = {};
utill.getAlert = function(){
alert("i am from utill");
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment