You are currently offline, waiting for your internet to reconnect

The Function constructor produces an error in Internet Explorer 9 Standards mode

Consider the following scenario:
  • You develop a web application in which you use the Function constructor.
  • The function body contains an ECMAScript Fifth Edition (ES5) getter or setter.
  • You run the code in Windows Internet Explorer 9 Standards mode.
In this scenario, the Function constructor produces an error.

For example, if the webpage contains the following code, this issue occurs:
new Function(' return { get x() {} } ')

Security update information

To resolve this problem, install the most recent cumulative security update for Windows Internet Explorer. To do this, visit the following Microsoft website: For more technical information about the most recent cumulative security update for Windows Internet Explorer, visit the following Microsoft website:Note This update was first included in security update 2530548 (MS11-050). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
2530548 MS11-050: Cumulative security update for Internet Explorer: June 14, 2011 
For more information, visit the following website:

Article ID: 2555751 - Last Review: 06/27/2011 21:23:00 - Revision: 1.0

Windows Internet Explorer 9

  • kbmbsjscript kbprb kbfix kbsurveynew KB2555751