-
Notifications
You must be signed in to change notification settings - Fork 0
/
invertValues.ts
23 lines (23 loc) · 1.04 KB
/
invertValues.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
export function invert(array: number[]): number[] {
return array.map((element) => -element )
}
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');
console.log('Auto-update for invertValues.ts');