Unity's JavaScript seems to be missing the syntax to declare character literals. This means you need to get them implicitly by referencing a character index from a string.
JavaScript:
var myChar = "a"[0]; // implicitly retrieves the first character of the string "a"
C#:
char myChar = 'a'; // character 'a'
18.119.103.96