killme2008 / killme2008/aviatorscript

variable attribute syntax

Open
#267 0 comments 0 reactions 1 assignee Claimed by @killme2008 View on GitHub
feature
Dominant language
Java
Stars
5.2k
Forks
906
PR merge metrics
No merged PRs in 30d

Description

Just like lua 5.4 variable attribute, for example:

```js
let c = 1;
c = 2; ##report error
```
c is declared to be const, it can't be assigned a new value.

```js
{
let file = io.open("test.txt");
}
## exit scope, the file is closed automatically.

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.