There is a JavaScript syntax error in optional chaining

I load the new version of the plugin, but I get a validation error:

There is a JavaScript syntax error in your code; validation cannot continue on this file.

swears at this line of code:
arr.find(n => n.values.includes(ee.toString()))?.action();

namely the question mark.
however, the use of this functionality is described on

Chrome did not give errors

The validator is currently lagging behind syntax features Firefox supports.

I would recommend filing an issue at to make sure it is tracked.

1 Like

Thanks! Done.

Anh có thể chỉnh sửa giúp tôi không

Vào 00:55, T.2, 23 Th3, 2020 Martin Giger via Mozilla Discourse đã viết: