Acode icon indicating copy to clipboard operation
Acode copied to clipboard

static field error

Open rald opened this issue 4 years ago • 1 comments

in a class i type this:

static FPS=60;

it says:

Class properties must be methods. Expected '(' but instead saw '='.

rald avatar Nov 06 '21 11:11 rald

Actually, the javascript linter is very old and I suggest don't use it. I don't know how to update it, I've tried to use the latest linter but it doesn't work. I'll try it again to update the linter soon.

deadlyjack avatar Nov 17 '21 23:11 deadlyjack