javascript is primarily a "glue" language to message-pass dynamic [string] data between ui-elements and databases/filestores/wasm-sqlite.
things like protected (or even private) members offer little ergonomics to users like me who employ it in the above-stated message-passing role.