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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T23:46:14+00:00 2026-05-22T23:46:14+00:00

In nodejs documentation for the util.inspect function, the documentation states that If showHidden is

  • 0

In nodejs documentation for the util.inspect function, the documentation states that “If showHidden is true, then the object’s non-enumerable properties will be shown too.”

Does non-enumerable properties refer to prototypes only? Or are there other non-enumerable properties I haven’t considered?

Link to documentation in question: http://nodejs.org/docs/v0.4.8/api/util.html#util.inspect

  • 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-05-22T23:46:14+00:00Added an answer on May 22, 2026 at 11:46 pm

    Enumerable properties and prototype properties are unrelated. It just happens that most (all?) of the prototype properties on native objects are non-enumerable.

    To show that both prototype and instance properties can be both enumerable or non-enumerable:

    You can create non-enumerable properties on your own objects with defineProperty():

    var obj = {};
    Object.defineProperty(obj, 'a', {
        value: 1,
        enumerable: false
    });
    

    On the other hand, prototype properties that you add (non-native) are by default enumerable, even if you add them to the prototypes of native objects:

    Object.prototype.a = 1;
    var obj = {};
    
    // Will log "a"
    for (var i in obj) {
        console.log(i);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to write a function that will get me the attribute of a
Maybe it's just the fact that I've been using http://nodejs.org/ lately, but the lack
I need to make a nodejs client application that can send a POST request
Here are three pieces of terminology used in documentation relating to ConnectJS for NodeJS
The MemCached documentation mentions data is distributed across nodes. That's their definition of distributed
I am creating a Brightcove plugin. The documentation implies that if you need pass
NodeJS is a fantastic tool and blazing fast. I'm wondering if HTTPClient supports cookies
I want v0.1.27 of nodejs code base. This is what I did. git clone
I have been looking into Node.JS and all the documentation and blogs talk about
I'm trying to use graphviz on media wiki as a documentation tool for software.

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.