0 votes
in TypeScript - JavaScript's Superset by
recategorized by

" var jarvis = function (x: number, y?: number): number {} " showcases _________.

a) Defining Parameter

b) Both the options

c) Type annotation

1 Answer

0 votes
by
edited by

b) Both the options

" var jarvis = function (x: number, y?: number): number {} " showcases Defining Parameter and Both the options

Related questions

0 votes
asked Jan 27, 2020 in TypeScript - JavaScript's Superset by AdilsonLima
0 votes
asked Mar 22, 2022 in TypeScript - JavaScript's Superset by sharadyadav1986
...