Indeed. JavaScript also doesn't have private fields. But in practice using an undocumented field means "I'm familiar with the internals of this library and willing to check for breaking changes on every update".
There are lots of footguns in JS, but I've never seen this cause issues.
There are lots of footguns in JS, but I've never seen this cause issues.