Closed 98B closed 7 years ago
Hi there!
This might be an easy fix, but the root of the problem is that the parser does not understand none of the ES6 syntax. If one is using let
, he's probably also using bunch of other ES6, and that simple fix won't help him a lot.
The sad situation is, that JSDuck development has been in halted state for a while now. I have no idea if and when I or somebody else would do some actual work on it.
Point taken. Pity, though, not many JSDoc processors will at least consider inner functions, e.g..
Hi,
while playing with more recent Javascript, I noticed the exception
RKelly::SyntaxError
raised as show below. The cause seems to be thelet
in the one-line test file, also show below. I was guessing that an easy fix would be to havevar
andlet
be “synonymous” as regards syntax.