Closed tejacques closed 2 years ago
Here: https://github.com/alshdavid/BorrowScript/blob/main/README.md#write
It uses read in the example instead of write Is:
read
write
function writeFoo(read foo: string) { foo.push('bar') console.log(foo) // "foobar" }
should be:
function writeFoo(write foo: string) { foo.push('bar') console.log(foo) // "foobar" }
Sorted, thanks
Here: https://github.com/alshdavid/BorrowScript/blob/main/README.md#write
It uses
read
in the example instead ofwrite
Is:should be: