Google News
logo
TypeScript - Quiz(MCQ)
Which is a successful example of this tuple '[number, string]'?
A)
const ourTuple = [101]
B)
const ourTuple = ['Coding God', 101]
C)
const ourTuple = [101, 101, 'Coding God', 'Coding God']
D)
const ourTuple = [101, 'Coding God']

Correct Answer :   const ourTuple = [101, 'Coding God']

Advertisement