javascript-deobfuscator icon indicating copy to clipboard operation
javascript-deobfuscator copied to clipboard

?. and ?? operators not handled by parser

Open korri123 opened this issue 1 year ago • 1 comments

var i = undefined;
i?.call();
var x = i ?? 0;

This will cause a parser error. Not sure if you use a library for this that needs updating or not.

korri123 avatar Aug 16 '24 14:08 korri123

Yes the parser is quite outdated unfortunately. Not too much I can do besides implementing the features myself/rewriting the project which I don't have time for currently.

ben-sb avatar Aug 29 '24 19:08 ben-sb