Files
frontend-bootcamp/step2-01/exercise/src/index.ts
Elizabeth Craig 61ae8afdf1 Step 2-01 updates
2019-02-27 20:17:08 -08:00

32 lines
580 B
TypeScript

// TODO: import the fib(n) function and the constant from './fibonacci.ts'
// import {fib}, FibConst from ...
// Some setup code for exercises
const obj1 = {
first: 'who',
second: 'what',
third: 'dunno',
left: 'why'
};
const obj2 = {
center: 'because',
pitcher: 'tomorrow',
catcher: 'today'
};
function makePromise() {
return Promise.resolve(5);
}
// Do the exercises here, outputting results using console.log()
// ...
console.log('hello world');
async function run() {
// Call the function you added for the async / await exercise here
// ...
}
run();