nodejs
javascript
development
eslint
es6
static-code-analysis
style-guide
linter
ecmascript
standard
-
Updated
Feb 5, 2022 - JavaScript

As Clippy warns, the RegExp structure in src/builtins/regexp/mod.rs has too many booleans (one for each flag). This is bad, because it might not get correctly optimised by the compiler. Ideally, we would want to use a bitflags structure such as the RegExpFlags one in https://github.com/boa-dev/boa/blob/60b7eb89340c2