Skip to content

Enumerability Changes

Compare
Choose a tag to compare
@mridgway mridgway released this 23 Jun 22:12
· 76 commits to main since this release

There should be no breaking changes for most users. Previous specs for static class properties used non-enumerable properties. To accommodate this we also hoisted non-enumerable properties. The spec has changed and class properties are now enumerable, so we have removed the hoisting of non-enumerables since it can be problematic with native properties.

Potentially Breaking Change

  • Only hoist enumerable statics

New Features

  • Hoist statics of inherited classes