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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T03:37:14+00:00 2026-06-06T03:37:14+00:00

As is known, Internet Explorer (at least <= 8) does not support several javascript

  • 0

As is known, Internet Explorer (at least <= 8) does not support several javascript Array functions (indexOf, filter, etc). This stackoverflow answer provides some decent implementations of most of these missing Array functions.

My question: is it preferable to provide implementations like those in the answer for your website or simply rely on an external library (jQuery, etc)?

Is there a best practice? I’m looking for insight from those with more practical experience than I with this situation.

The lack of dependency on an external library is always a plus (although they’re largely ubiquitous in most cases). But there’s no guarantee that any custom implementation will cover ALL edge cases and it introduces something to maintain.

  • 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-06T03:37:16+00:00Added an answer on June 6, 2026 at 3:37 am

    best practice is probably using the es5-shim which lets you use javascript in all browsers as if it was fully ECMAScript 5 compatible (with a few limitations, for example the second param of Object.create can’t be emulated).

    This has the sheer advantage that it only acts on browsers that lack such extensions, so modern browsers will use the built-in optimized versions of the code.

    Also, you avoid leveraging on an external library that defines their own spec, which in case of jQuery is kinda broken like $.each having the params inverted from what the spec says for Array.prototype.forEach, or weird naming conventions like $.proxy for what Function.prototype.bind does.

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

Sidebar

Related Questions

According to quirks mode , internet explorer 8 does support table options for display
Does anyone know if/when Internet Explorer will support the border-radius CSS attribute?
They seem to open in an internet explorer type window, does anyone know: How
I know there are several threads and posts regarding this issue in the internet
There is a known issue with opening a PDF in Internet Explorer (v 6,
As detailed elsewhere , and otherwise apparently well-known, Internet Explorer (definitely version 7, and
Is anyone else aware of the fact that Internet Explorer (at least version 8)
This only occurs in Internet Explorer. I have a ListBox which is in an
I have the following JavaScript code to pop up a window in Internet Explorer.
I need to open a webpage using Internet Explorer even if it is not

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.