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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T16:07:02+00:00 2026-06-10T16:07:02+00:00

In Chrome, try the following in the console. First console = 0; to assign

  • 0

In Chrome, try the following in the console. First

console = 0;

to assign the value 0 to console. Then

console // (prints `0`)

to check we have correctly overwritten console. Finally,

delete console

Surprisingly, console now holds the original Console object. In effect, the delete keyword “resurected” console, instead of exterminating it!

Is this expected behaviour? Where is this implemented in the Chromium code?

  • 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-10T16:07:04+00:00Added an answer on June 10, 2026 at 4:07 pm

    As mentioned in MDN’s documentation on delete:

    If the delete operator succeeds, it removes the property from the
    object entirely, although this might reveal a similarly named property
    on a prototype of the object.

    Your delete simply unshadows native property inherited through prototype chain.

    Some browsers have window inherit from native prototype and you’ll have check out sources to see how property is inherited, if you really want to know that much details, but mostly they work just like JS’ own.

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

Sidebar

Related Questions

I have the following code, and the javascript console in chrome says Can't read
When I try the following in the chrome console, i get 'undefined' as the
I have the following code, which is supposed to try to parse a given
I get the following error in Chrome's developer tools window when I try to
I have a weird Chrome problem. I'm using the following code and style to
So if you try the following code: http://jsfiddle.net/LNfZT/29/ It works perfectly on Chrome but
I have the following page where I try to rotate a YouTube video by
I have the following css rules: -webkit-transform: scale(0.5); /* Saf3.1+, Chrome */ -moz-transform: scale(0.5);
If you paste the following into the url bar in chrome and try to
Chrome's console reports an error. It lists the name of a function -- presumably,

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.