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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T16:43:10+00:00 2026-05-14T16:43:10+00:00

This week I decided to add a new element to a javascript array by

  • 0

This week I decided to add a new element to a javascript array by copying a similar one from a previous line; unfortunately I forgot to remove the comma so the end result was something like var a = [1, 2, 3,].

The code went live late Friday afternoon just before everyone left for the week-end, and it completely broke everything in Internet Explorer 7 (and lower I assume) since it’s such a great browser. Since there was no one to read emails (week-end) it went unnoticed for quite a while, and I really don’t want something like this to happen again (especially in my code)..

This is not the first of weird IE7 problems; I was wondering if there was a way to automatically test key pages looking for javascript or css errors, or really anything that IE8 would output in its new console in development tools.

If there isn’t, what do you usually do? You test the website after every change with all the browsers you support? (Something I’ll do from now, at least for IE, if there is no way to run automated tests)

  • 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-14T16:43:11+00:00Added an answer on May 14, 2026 at 4:43 pm

    Found a solution; we use the YUI compressor to compress our javascript files but google closure has a lot of error detection capabilities along with a better compression rate:

    No compiled code because there were
    errors.

    Number of errors: 1
    JSC_TRAILING_COMMA: Parse error.
    Internet Explorer has a non-standard
    interpretation of trailing commas.
    Arrays will have the wrong length and
    objects will not parse at all. at line
    1 character 18

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

Sidebar

Ask A Question

Stats

  • Questions 491k
  • Answers 491k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer My guess is that he doesn't have to cover all… May 16, 2026 at 10:12 am
  • Editorial Team
    Editorial Team added an answer They are SQLite databases. You can use SQLite or a… May 16, 2026 at 10:12 am
  • Editorial Team
    Editorial Team added an answer Basic answer: The CPU registers are directly on the CPU.… May 16, 2026 at 10:12 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm fairly new to the unit testing world, and I just decided to add
Update: Last night, I decided that this is just too much work to change
I decided to make a system for a client using Castle ActiveRecord , everything
this is my code I have: I have read that setting up the CommandText
This has me pulling my hair out. We have a workflow, hosted as a
I'm pretty new still at C# so I might be doing something stupid, but
What is there to do when the lead developer is convinced the project will
Every now and then I find web applications that have some sort of article
We have a SQL 2000 server that has widely varied jobs that run at
I've been programming Ruby pretty extensively for the past four years or so, and

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.