// Person: { // name: string, // age: number, // } to represent the 'shape' of a Person. When you have functions like the following, you can use the shorthand to write the type of the input and output. function getName(person) { return person.na...

Markdown supported · ⌘↵ to post
No responses yet.