NiL.JS
NiL.JS copied to clipboard
SyntaxError: Expected ',', ';' or '}' (17538:17)
Source code: https://raw.githubusercontent.com/BrainJS/brain.js/master/dist/brain-browser.js
Playing a little with code looks like it doesn't like this piece of code:
const
{
contextName = 'gl',
throwGetError,
useTrackablePrimitives,
readPixelsFile,
recording = [],
variables = {},
onReadPixels,
onUnrecognizedArgumentLookup,
} = options;
Thanks for this bug report. This is because of Destructuring Assignment with Default Values
not implemented yet.