Skip to content

Instantly share code, notes, and snippets.

@mechmillan

mechmillan/index.html

Last active Dec 12, 2017
Embed
What would you like to do?
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