Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

120
Visualizações
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 Respostas
Responde à pergunta

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda