Drill 7: Summarise — Primitive types and arrays
Summarise the example in one sentence.
What you will be able to do
- Summarise the example in one sentence.
Practice task
Summarise the example in one sentence.
let name: string = 'Ada'
let score: number = 42
let passed: boolean = true
let empty: null = null
let missing: undefined = undefined
const names: string[] = ['Ada', 'Grace']
const sameNames: Array<string> = ['Alan', 'Katherine']
const pair: [string, number] = ['Ada', 42]
const fixed: readonly string[] = ['Ada', 'Grace']Your turn
EasyWrite your answer
Summarise the example in one sentence.
TEXT · starter
Your answer…Study tools
Make it yours.
Keep a private note for this lesson, then turn the key ideas into flashcards you can revisit.
Sign in to save notes and flashcards.Both are private to your account and stay with your progress.
Sign inFinished reading?
Lock in what you just learned.
0%
Mark this lesson complete to save your place and move one step closer to the certificate.