I have the following code:
let myArray = ["hello", "world"]
let firstItem = myArray[0]
In a previous version of ReScript this would generate:
var myArray = ["hello", "world"];
var firstItem = myArray[0];
With ReScript 9.1.2 it generates:
var myArray = ["hello", "world"];
var firstItem = Caml_array.get(myArray, 0);
Is there a syntax available that allows it to generate the previous output without the Caml_array.get()
call?
Thanks