Which of the options is used appropriately in JavaScript code?
a) function reverse(s: string) : string;
b) function reverse (s: String) : String;