Closed WebReflection closed 8 years ago
The "polyfill" in the proposal repo is an example implementation and isn't meant to be consumed, simply a reference implementation.
Once the naming issue is resolved, I'll release a module on npm that uses define-properties
to do exactly as you suggest.
I wonder if, in case
System
is missing, it wouldn't be better to reflect a native descriptor.Moreover, I believe the
global
property in theSystem
should actually throw if reassigned or, at least, be a constant, like thePI
in theMath
object.What do you think?