Created
November 5, 2016 17:58
-
-
Save aitorjs/38b594f5cd994a5b8eed69f7c2735632 to your computer and use it in GitHub Desktop.
Example to start learning javascript debuging with Google developer tools and Firefox dev tools
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
</head> | |
<body> | |
<script> | |
debugger; | |
let dog = 'Snickers'; | |
let cat; | |
[dog = 'Hugo', cat = 'Muf'] = [cat, dog] | |
console.log(dog, cat) | |
// Hugo Snickers | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment