Below is a small Angular scenario with a standalone component and ChangeDetectionStrategy.OnPush. The component stores state in a signal, and the template reads a computed value. After several actions, one final line is printed to the console.
You need to determine the exact stdout.
signal, computed, and OnPush in Angular.stdout string.main.ts file.npm install
npx tsx main.ts
console.log from main.ts.22.14.020.0.05.8.37.8.1zone.js 0.15.0npx tsx main.tsChangeDetectionStrategy.OnPush, without bootstrapApplication, code runs in Node as an isolated scriptClick a line and write what it prints. Explanation is optional.