We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
?? true
&& true
Summary
The above mutation always survives, we should not make it. I think.
Similar to #3339
The text was updated successfully, but these errors were encountered:
@edi9999 maybe you want a go at this one again 😅
Sorry, something went wrong.
Never mind. It's getting late I think. This is clearly not a mutation that always survives.
?? can be converted to && in some occasions and change the behavior.
??
&&
If for example I have this code :
function xxx(options) { const param = options.param ?? true; return param; }
If I call xxx({param: 10}) it would return 10 before the mutation and true after the mutation
xxx({param: 10})
10
true
No branches or pull requests
Summary
The above mutation always survives, we should not make it. I think.
Similar to #3339
The text was updated successfully, but these errors were encountered: