0 votes
in TypeScript - JavaScript's Superset by
Which of the two is used appropriately in JavaScript code:

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

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

1 Answer

0 votes
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
...