Last active
December 12, 2017 01:42
-
-
Save mechmillan/87586ba631a7e0bfcc8baaa50068e921 to your computer and use it in GitHub Desktop.
Both files have to be in the same directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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