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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:10:36+00:00 2026-06-17T07:10:36+00:00

With developer tools open in IE9, this code works : var log = Function.prototype.bind(console.log,

  • 0

With developer tools open in IE9, this code works :

var log = Function.prototype.bind(console.log, console);

But if I type

console.log(console, console.log);
var log = console.log.bind(console);

then I get this :

SCRIPT438: Object doesn't support property or method 'bind'

Why ?

Is that a known IE bug or a normal behavior ?

Does it affect other functions (I had no problem with window.alert which is also native) ?

  • 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-17T07:10:37+00:00Added an answer on June 17, 2026 at 7:10 am

    As the related answer says, it is simply because the log function from the console object in IE doesn’t inherit from Function. It’s a host object, and it uses whatever rules IE sees fit.

    But it’s a function-like. That’s why using Function.prototype.bind works, just like using Array.prototype.forEach works on array-like objects. (Hint: NodeLists and HTMLCollections.)

    It’s not a bug per se, because there is no specification talking about the console object. The DOM living standard doesn’t even mention it. So each browser implements this object the way it wants to.

    And it does mean that the window.alert function is subject to the same problems. We’re lucky that it works so well across browsers.

    That’s IE. Deal with it. Although IE9 is far better than IE8, it’s still way worse than the other modern browsers.

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

Sidebar

Related Questions

When I open the Chrome Developer Tools JavaScript console to get a REPL, the
IE9 Bug - JavaScript only works after opening developer tools once. Our site offers
I get this behavior in both Chrome (Developer Tools) and Firefox (Firebug). Note the
Current I have this code: var imgCount = 36; var container = $('#3D-spin'); var
Is there a way to make the Developer Tools window open Maximized automatically again?
I am trying to follow the guide here: https://developers.google.com/chrome-developer-tools/docs/scripts-breakpoints But it doesn't seem to
When I open Google Chrome's developer tools, I do not get the scripts tab.
The jQuery $.post() function is not working in IE. I tried to open developer
When I open Developer Tools in Google Chrome, I see all kinds of features
When I open the developer tools in chrome and go to the Resources tab,

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.