Files
frontend-bootcamp/step2-01/exercise/src/index.ts
T

29 lines
468 B
TypeScript

// 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, output your results with "console.log()" function
// ...
console.log('hello world');
async function run() {
// Place your code for the async / await exercise here
// ...
}
run();