doing step 4 demo notes

This commit is contained in:
Ken
2019-02-22 15:02:53 -08:00
parent 61f7eb6ce5
commit 79fdc8cd47
8 changed files with 63 additions and 29 deletions

View File

@@ -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);
}