Reference
These forms are refused by the parser on purpose. Use the Poi idiom instead (cheatsheet §16).
| Rejected | Use instead |
|---|---|
try / catch | Result / parseJson / host Result APIs |
for / while | .map / .filter / recursion / store loops via data |
class | functions + store + ADTs; host new Date / imported classes only |
=== / !== | == / != (deep) |
?. / ?? | match / Option |
| generators / decorators | not in language |