Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
What happens to a console.log if the developer tools are not open?

I'm assuming it's just a noop but I'm curious in the engine if this is just conditioned off or if it still gets executed but it's not visible?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It depends on the environment. In an environments that adhere to the console specification, then:

If the console is not open when the printer operation is called, implementations should buffer messages to show them in the future up to an implementation-chosen limit (typically on the order of at least 100).

Some environments don't adhere to that specification (notably very obsolete versions of Internet Explorer [IE8 didn't even define the console object if the devtools weren't open(!)]), but by and large that's how it works in even vaguely modern environments.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!