Question: what are enumerable properties in javascript?
Answer: Enumerable properties are those properties whose internal enumerable flag is set to true, which is the default for properties created via simple assignment or via a property initializer (properties defined via Object. defineProperty and such default enumerable to false).