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 7633697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:57:30+00:00 2026-05-31T06:57:30+00:00

I am optimizing my website across IE browsers. Everything works fine except for IE9.

  • 0

I am optimizing my website across IE browsers. Everything works fine except for IE9.

I have a function similar to this one:

 var history = new Array();


 function loadPage(page, parameters) {

    $(".dynamic_load").fadeOut(400, function(){

    $(this).fadeIn(400).html("loading").load(page, parameters,
    function(response){
    $(".dynamic_load").html(response).show();  });

                if (history.length > 5) {
                    history.shift();
                } 
                history.push(page); 

                                          });

 }

and I am getting an error SCRIPT5039: Redeclaration of const property , which indicates on line

 var history = new Array();

What does it mean? I haven’t declared it anywhere else. It is just a global array.

  • 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-31T06:57:32+00:00Added an answer on May 31, 2026 at 6:57 am

    It is probably conflicting with window.history. Rename it to something else and see if the error goes away.

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

Sidebar

Related Questions

I have been optimizing my website but the one problem that stands in my
I have a site that I'm optimizing using Google Website Optimizer where the goal
I am working on optimizing one of the SQL Job. Here I have few
Basically, I'm optimizing a website for the different versions of IE. I'm using IE9
Evening all! I'm optimizing my website, and I'm running into some peculiar behaviour. Before,
I am optimizing the startup of a WinForms app. One issue I identified is
I am optimizing sql query and I am welcoming advices how to improve this
I have been optimizing our continuous integration builds, and the remaining bottleneck seems to
I have asp.net website name http://www.go4sharepoint.com I have tried almost all ways to improve
While optimizing a function in PHP, I changed if(is_array($obj)) foreach($obj as $key=>$value { [snip]

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.