jaxon-php / jaxon-js

The Jaxon javascript library https://www.jaxon-php.org.
BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

Problem with jaxon.core.js - #2 #18

Closed sdaeges closed 1 year ago

sdaeges commented 1 year ago

Hey again,

I think I discovered another problem:

jaxon.core.js:1885

As the code is right now, Chrome gives me the following message: TypeError: Assignment to constant variable. at Array.waitFor [as wf] (jaxon.core.js:1886:19)

I suggest either replacing the 'const' with a 'let', or replacing the three lines starting at 1885 with:

const cmdToEval = 'bResult = (' + command.data + ');';

Regards,

Sascha