You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC does not hoist the vars to the nearest variable scope, even though (as I understand it) it should be runtime equivalent to do so.
If it did hoist the variables then it could collapse them into a single declaration and save the additional var per variable - which would leads to +4b per variable declared within the same variable scope.
The text was updated successfully, but these errors were encountered:
input code:
Note: input code is the generated by swc downlevelling optional chaining
Actual CC output:
Expected CC output:
CC does not hoist the
var
s to the nearest variable scope, even though (as I understand it) it should be runtime equivalent to do so.If it did hoist the variables then it could collapse them into a single declaration and save the additional
var
per variable - which would leads to +4b per variable declared within the same variable scope.The text was updated successfully, but these errors were encountered: