`cssMethod`? (I get your thinking, but the method is of `classList` API)

`(hasMaxLength)` doesn't need to be in grouping operator parens