Is there a way I can make it so the file doesn't use "return CreateHTML(
Also I am wondering how I can use js function like String.prototype.replace in torque. I am also wondering wether or not I can use `typeswitch` with string with something like this:
let myFruit: String = "banana";
typeswitch(myFruit) {
case "banana":
print("this is banana");
break;
case "blueberry":
print("this is a blueberry");
break;
}
Another thing I was wondering is if torque had type inference so I don't have to do:
let myString = "an string";
each time I want to create a string.
Another thing that I was wondering is whether or not v8 has type inference.
Thanks for taking time to read my email and I am sorry for my bad english, english isnt my first language.