mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
Add step2-01 final folder with solutions
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Step 2.1 - Introduction to TypeScript (Exercise)
|
||||
|
||||
[Lessons](../../) | [Demo](../demo/)
|
||||
[Lessons](../../) | [Demo](../demo/) | [Final](../final/)
|
||||
|
||||
If you don't already have the app running, start it by running `npm start` from the root of the `frontend-bootcamp` folder.
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// TODO: import the fib(n) function and the constant from './fibonacci.ts'
|
||||
// import {fib}, FibConst from ...
|
||||
// import FibConst, {fib} from ...
|
||||
|
||||
// TODO: import Stack from './stack.ts'
|
||||
// TODO: import Stack from ...
|
||||
|
||||
// Do the exercises here, outputting results using console.log()
|
||||
console.log('hello world');
|
||||
@@ -54,11 +54,10 @@ function makePromise() {
|
||||
|
||||
async function run() {
|
||||
// TODO: call makePromise() using await syntax and log the results
|
||||
|
||||
// TODO: call your new async function
|
||||
}
|
||||
|
||||
run();
|
||||
|
||||
// Make this file a module so its code doesn't go in the global scope
|
||||
export { };
|
||||
export {};
|
||||
|
||||
Reference in New Issue
Block a user