|
|
|
|
|
by robpalmer
1610 days ago
|
|
#private fields are not slow when used natively. It's true the down-levelled code that uses WeakMaps is slower. The decision to downlevel is in the hands of the user and is controlled by the tsconfig "target" option. The only environment that needs downlevelled #private fields is IE11. |
|