mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
doing step 4 demo notes
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { multiply } from './multiply';
|
||||
|
||||
let counter = 0;
|
||||
|
||||
export function getCount() {
|
||||
@@ -13,5 +15,5 @@ export function decrement() {
|
||||
}
|
||||
|
||||
export function square(x: number) {
|
||||
return x * x;
|
||||
return multiply(x, x);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user