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

  • Home
  • SEARCH
  • 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 4058416
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T15:04:36+00:00 2026-05-20T15:04:36+00:00

Dear folks, what should I do with these error warnings that Closure Compiler outputs?

  • 0

Dear folks, what should I do with these error warnings that Closure Compiler outputs?
Thank you very much for your ideas and code improtements on this particular type of error:

  1. JSC_WRONG_ARGUMENT_COUNT: Function parseInt: called with 1 argument(s). Function requires at least 2 argument(s) and no more than 2 argument(s). at line 593 character 12
    if (parseInt(jQuery.browser.version) < 7) {

  2. JSC_NOT_A_CONSTRUCTOR: cannot instantiate non-constructor at line 708 character 15
    lightbox = new Lightbox(this, opts.lightbox);

  3. JSC_NOT_A_CONSTRUCTOR: cannot instantiate non-constructor at line 1265 character 19
    var scroller = new Scroller($(this), opts);

  • 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-05-20T15:04:37+00:00Added an answer on May 20, 2026 at 3:04 pm

    Number 1:
    This warning means that you passed-in the wrong number of arguments in a function call.

    Here is a better explanation

    Number 2 & 3:
    The compiler expects all constructors to be marked with the JSDoc tag @constructor, like this:

    /**
     * @constructor
     */
    function MyClass() {
      this.foo = 'bar';
    }
    var obj = new MyClass();
    alert(obj.foo);
    

    Here is a better explanation.

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

Sidebar

Related Questions

Dear folks, Closure Compiler gives this warnings in Advanced Mode, underlining {this. JSC_USED_GLOBAL_THIS: dangerous
Dear folks, Currently a rewrite should redirect /index.php to /en/home And for that this
Dear all: In advance, thank you for your time. Lately, I have decided to
Dear all, I am writing a python program that is retrieving edifact log messages
Dear Friends good afternoon. My problem may be this is very basic one i.e.
Dear folks, staring at the minified CSS I put together so proudly the other
Dear folks, in order to remove some really crazy /%A/%E\%FD occuring in the urls
Dear folks, Imagine a One Page Site RewriteCond %{HTTP_HOST} ^1pagesite.org$ RewriteRule ^$ 1pagesite.php [L]
Dear folks, The (www.)? part in the below code doesnt work properly I feel:
Dear Stacktoverflow, can you show me an example of how to use a QScrollBar?

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.