Open hgGeorg opened 8 years ago
If a variable with the name iced exists, await/defer will cause a TypeError.
iced
await
defer
iced = 0 await asyncFunc defer value console.log value
I've looked at the compiled js file and this line was suspicious:
__iced_deferrals = new iced.Deferrals(__iced_k, {});
It seems that by declaring a variable as iced, the original/internal iced variable gets overshadowed.
If a variable with the name
iced
exists,await
/defer
will cause a TypeError.I've looked at the compiled js file and this line was suspicious:
It seems that by declaring a variable as
iced
, the original/internaliced
variable gets overshadowed.