menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
Why do we use console.log in javascript when changing variables?
asked
Aug 3, 2019
216k
views
2
votes
Why do we use console.log in javascript when changing variables?
Computers and Technology
high-school
Gnanz
asked
by
Gnanz
7.8k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
2
Answers
3
votes
This usually helps to debug the code
Pixelpax
answered
Aug 5, 2019
by
Pixelpax
7.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
5
votes
It helps to debug the code. Instead of going through every line of code to find an error, using console.log can tell us where to look.
Mohamed Amin
answered
Aug 8, 2019
by
Mohamed Amin
7.8k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Jun 11, 2024
117k
views
1. ReType the Following Javascript Code. * //My name is onEvent("bigButton", "click", function(){ setProperty("bigButton", "background-color", "red"); console.log("You clicked the reset button"); setScreen("screenMain");
Paul Klint
asked
Jun 11, 2024
by
Paul Klint
8.1k
points
Computers and Technology
high-school
1
answer
1
vote
117k
views
asked
Nov 12, 2024
82.8k
views
So Bob wrote console,log in JavaScript but his code bugs out. why?
Amer Jamaeen
asked
Nov 12, 2024
by
Amer Jamaeen
8.1k
points
Computers and Technology
college
1
answer
2
votes
82.8k
views
asked
Jul 2, 2022
2.1k
views
Consider the following JavaScript code fragment:var greeting = function ( name ) {console.log ( name )}The best answer for what is wrong with this code is:Group of answer choices
Olivier Lasne
asked
Jul 2, 2022
by
Olivier Lasne
8.6k
points
Computers and Technology
college
1
answer
2
votes
2.1k
views
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
9.5m
questions
12.2m
answers
Other Questions
“What does it mean when we “rework” copyrighted material?”
The book shows how to add and subtract binary and decimal numbers. However, other numbering systems are also very popular when dealing with computers. The octal (base 8) numbering system is one of these.
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Explain why binary codes are used to represent characters, numbers and symbols :)
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org