You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The use of ES6 default parameters causes the tool to throw an error. I know this isn't actually a true JavaScript object, but the syntax is very similar and it would be great if it was supported. The following is currently not permitted by the tool:
const {
b = 2,
a = 1
} = someObject;
Error: Please make sure your selected text is a JS object!
The text was updated successfully, but these errors were encountered:
As you said, this isn't actually a true JS object so the way to parse this "object" might be quite different with the true JS object. So the code/logic change might be a lot.
I can also mark this as a feature, but it will be a low priority feature.
It would be great if you can contribute to this change :)
The use of ES6 default parameters causes the tool to throw an error. I know this isn't actually a true JavaScript object, but the syntax is very similar and it would be great if it was supported. The following is currently not permitted by the tool:
Error: Please make sure your selected text is a JS object!
The text was updated successfully, but these errors were encountered: