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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:10:31+00:00 2026-06-13T10:10:31+00:00

On this JS MDN page it says this: JavaScript 1.8.1 note Starting in JavaScript

  • 0

On this JS MDN page it says this:

JavaScript 1.8.1 note

Starting in JavaScript 1.8.1, setters are no
longer called when setting properties in object and array
initializers.

I just can’t figure out what this is trying to tell me.

  • 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-13T10:10:33+00:00Added an answer on June 13, 2026 at 10:10 am

    I think this refers to the issue of JSON hijacking. Have a look at

    • Is it possible to do 'JSON hijacking' on modern browser?
    • http://incompleteness.me/blog/2007/03/05/json-is-not-as-safe-as-people-think-it-is/
    • http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx, http://haacked.com/archive/2009/06/25/json-hijacking.aspx
    • http://hackademix.net/2009/01/13/you-dont-know-what-my-twitter-leaks/

    To repost my answer from this deleted question:

    According to the specification, neither Array (EcmaScript 5.1
    §11.1.4
    ) nor Object literals
    (EcmaScript 5.1 §11.1.5) should be
    hijackable:

    • They call “the standard built-in constructor with that name“, not what you might have overwritten at window.Array or window.Object
    • They use [[defineOwnProperty]], which does absolutely not take care of any setters on Object.prototype.

    Nowadays, this should not be an issue any more in ES 5.1-compliant browsers.

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

Sidebar

Related Questions

There is HTML page with contents like this. Documentation at MDN says that childNodes
This should be a simple one: I have an observableArray object called To in
Scenario After reading this answer I realized that I could create object starting from
According to this MDN page , the delete keyword Returns false only if the
According to the MDN page at for each...in loop , this construct is deprecated.
I was reading the MDN page for the JS Function's arguments variable: https://developer.mozilla.org/en/JavaScript/Reference/Functions_and_function_scope/arguments I
This is related to the question javascript cloneNode and properties . I'm seeing the
In the section about inheritance in the MDN article Introduction to Object Oriented Javascript
I need help with this two elements properties. According MDN element.scrollHeight this a height
MDN explains how to use the window.screen object, but also says DOM Level 0.

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.