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

Which of the options is used appropriately in JavaScript code?

a) function reverse(s: string) : string;

b) function reverse (s: String) : String;

1 Answer

0 votes
by
edited by
a) function reverse(s: string) : string; is used appropriately in JavaScript code

Related questions

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