revert: pipe challenge changes (2)

This commit is contained in:
Sven Brodny
2024-02-16 14:41:52 +01:00
parent bf45d4bb0f
commit f13cd8a954

View File

@@ -12,9 +12,9 @@ import { Component } from '@angular/core';
`,
})
export class AppComponent {
persons = ['toto', 'jack', 'samuel', 'steve'];
persons = ['toto', 'jack'];
// TODO: very heavy computation
// very heavy computation
heavyComputation(name: string, index: number) {
return `${name} - ${index}`;
}