Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7824091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T08:28:57+00:00 2026-06-02T08:28:57+00:00

I noticed while debugging some Javascript that an extra argument that I was passing

  • 0

I noticed while debugging some Javascript that an extra argument that I was passing was not showing up in the arguments object. The function declaration had one named argument, and was being passed two arguments, but the arguments array only contained the first argument. When trying to duplicate the problem in the Javascript console or a jsfiddle, the arguments are always passed properly. What could the problem be?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T08:28:58+00:00Added an answer on June 2, 2026 at 8:28 am

    The problem, which was only happening in Chrome, appears to be a Chrome optimization. What I did not realize at first is that in the original function where I found that arguments was incomplete, I was inspecting arguments in the console, but in all the tests I was creating, I was doing console.log(arguments) or something similar.

    If I do not reference arguments within a function, Chrome does not go to the expense of populating it. Thus, when inspecting arguments through the console, it only shows the arguments which are present as named parameters. I have created a jsfiddle to demonstrate this: http://jsfiddle.net/bgmort/2kmJs/

    Since I spent a couple hours searching for the answer to this, I hope that documenting what I found will save someone else a little time.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While doing some experiment on serialization, I noticed that my object name is lost
While debugging a problem in a WPF application, I have noticed that the TwoWay
While reading cocoa tutorials i've noticed that some of the tutorials use AppDelegate and
While creating JavaScript with ASP.NET MVC I noticed several scope warnings and realized that
While working on this question , I noticed that GCC (v4.7)'s implementation of std::function
While debugging an application earlier, I noticed in Web Inspector that it appears a
While debugging some C# code during a sort of peer-review, I noticed an odd
I have noticed that while debugging my site, any request that results in a
I noticed while making a program that a lot of my int type variables
I noticed that many times while developing for an iPhone 3G, BSD socket functions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.