I am reading the document about the smart contract in Near in Assembly Script. When reading about the Arrays in it. It said "there is two why to initialize an array"
var arr = new Array<string>(10);
var arr = Array.create<string>(10);
when I am trying the second option with create it gives me the following error:
Property 'create' does not exist on type 'typeof Array
can anyone help me?