Acode
Acode copied to clipboard
static field error
in a class i type this:
static FPS=60;
it says:
Class properties must be methods. Expected '(' but instead saw '='.
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.