Skip to content

Instantly share code, notes, and snippets.

@aitorjs
Created November 5, 2016 17:58
Show Gist options
  • Save aitorjs/38b594f5cd994a5b8eed69f7c2735632 to your computer and use it in GitHub Desktop.
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
<!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