coffee-script
coffee-script copied to clipboard
Variable `iced`
If a variable with the name iced exists, await/defer will cause a TypeError.
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.