Question · JavaScript and TypeScript course · Module 2: Functions, Arrays and Objects
Debugging Variable Issues
What is the simplest way to check a variable's value during debugging?
Answer options
- console.log()
- Unit test
- Source code analysis
- Breakpoint in DevTools
Show the answer
Correct answer:
- console.log()