Nucleus handler tools › Docs › Checks
A hole in a list
Why it matters
Two commas in a row leave a hole (undefined) in the array; usually a typo.
Example
✗ Wrong
var list = [1, , 2];✓ Right
var list = [1, 2];How to fix it
Remove the extra comma.
Turn it off, or change how it shows
Each check can be shown as an error, warning, info or hint, or turned off. VS Code: "splitscreenme.lint.rules": { "no-sparse-arrays": "off" } in your settings. Notepad++: Plugins › Nucleus Co-op handlers › Settings. Command line: ncdev lint --rule no-sparse-arrays=off. Other editors: the lint.rules setting of ncdev lsp.
Is this right?
Tell us what's wrong