Script error during processing destruction with ?? operator
miherlosev opened this issue · 3 comments
miherlosev commented
Origin code
function aria() {
var {icon: t, text: n} = this.props
, r = (n ?? "") || t;
}
Processed code
function aria() {
var _hh$temp0=this.props,t=_hh$temp0.icon,n=_hh$temp0.text,r=n??""||t;
}
miherlosev commented
The issue is reproduced on any application written with angular@14.x0
.
jlabaj commented
hi @miherlosev will this fix(testcafe-hammerhead v24.5.24) be a part of any alfa of testcafe soon?