PROGRAMMING
JavaScript
Practical tutorials for the work we actually do. Pick one, read it in order, and apply it.
0 likes
Likes for this tutorial.
Debugging With console.log Without Drowning in Output
Level: Beginner
console.log is the fastest way to see what your code is doing, until it prints 300 lines and you can't find the one that matters. Label your logs, log objects properly, use console.table and console.group, and clean up before you ship.
5 min read
0 likes
Likes for this tutorial.
Reading "Uncaught TypeError" Without Panicking
Level: Beginner
"Uncaught TypeError: Cannot read properties of undefined" means you used a value that wasn't there. Read the message, find the line, check what is actually undefined, then fix the cause instead of hiding it.
4 min read