rust-code-analysis
rust-code-analysis copied to clipboard
Support all the logical operators in JS for cyclomatic complexity
Unrelated to this change, but in looking to the code for js, I think we (I ??) missed to add operators like ?? and ?. (maybe others ?): they're lazy evaluated like a || or a &&.
Oh and probably ||=, &&= are missing too.
Originally posted by @calixteman in https://github.com/mozilla/rust-code-analysis/issues/786#issuecomment-1035998917