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

158
Visualizações
From where is The arguments object called inside of an function?

When you call object 'arguments' inside of an function, where does this variable come from? So in other words, where is it defined? Lets look with an example:

function func1(a) {
        console.log(arguments[0]);
    }
    
    func1("yellow");

I'm gonna make an extreme wild guess here and id say it comes from the static property defined in func1 since it contains the static property func1.arguments but i could be wrong. func1 however also contains other static properties such as 'length' and 'name' can these be called the same way as shown in the above example?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

It is defined in the specification.

It is provided by the JS engine when the function is called.

How that is done is an implementation detail of the specific JS engine.

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