mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
revert: pipe challenge changes (2)
This commit is contained in:
@@ -12,9 +12,9 @@ import { Component } from '@angular/core';
|
|||||||
`,
|
`,
|
||||||
})
|
})
|
||||||
export class AppComponent {
|
export class AppComponent {
|
||||||
persons = ['toto', 'jack', 'samuel', 'steve'];
|
persons = ['toto', 'jack'];
|
||||||
|
|
||||||
// TODO: very heavy computation
|
// very heavy computation
|
||||||
heavyComputation(name: string, index: number) {
|
heavyComputation(name: string, index: number) {
|
||||||
return `${name} - ${index}`;
|
return `${name} - ${index}`;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user