0

Just wondering , why when this is printed on console , doesn't show the dynamic property, which is added using Object.defineProperty

Here is a Decorator example. It's working as expected but the success, error property is not shown in this. I guess this is javascript behaviour and has nothing to do with decorators.

May I get a glimpse of this behaviour?

Parag Diwan
  • 159
  • 7

1 Answers1

0

Try to assign true to 'enumerable' property of property descriptor object.

f0nar
  • 1