Sourcery rule id:
new syntax with
const items = new Boolean(true);
const items = true;
Although possible, there aren’t any good reasons to use these primitive wrappers as constructors. They tend to confuse other developers more than anything else because they seem like they should act as primitives, but they do not.
If you wish to convert a value to another type, use these without the