Skip to content

Instantly share code, notes, and snippets.

@mechmillan
Last active December 12, 2017 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mechmillan/87586ba631a7e0bfcc8baaa50068e921 to your computer and use it in GitHub Desktop.
Save mechmillan/87586ba631a7e0bfcc8baaa50068e921 to your computer and use it in GitHub Desktop.
Both files have to be in the same directory
<!DOCTYPE html>
<html>
<head>
<title>For JS Debugger Access on Chrome Console</title>
<meta charset="utf-8">
</head>
<body>
<script src="testFile.js"></script>
</body>
</html>
function Cat(name) {
this.name = name;
}
let newCat = new Cat('mickey');
let arr = [1, 2, 3, 4];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment