Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
416 B
HTML
Raw Permalink Normal View History

2026-04-10 10:03:27 +08:00
@let fn = (a, b) => componentValue + a + b;
One: {{fn(0, 1)}}
@if (true) {
Two: {{fn(1, 1)}}
<button (click)=" componentValue = fn(2, 1)"></button>
<button (click)=" componentValue => fn(2, 1)"></button>
}
{{[(a) => a + 1][0](1000)}}
{{[(a ) => a + 1 + componentProp][0](1000)}}
@let a = 1;
@if (true) {
@let b = 2;
@if (true) {
@let c = 3;
{{(() => a + b + c)()}}
}
}