For all concepts that support access modifiers, such as fields, properties, methods, and classes that have access to modifiers, if they are not specified?
Everything in class public , if not specified. Everything in module is private unless the export keyword is used.
class
public
module
export
I do not agree that
Everything in the class is publicly available, unless indicated.
Everything is public, even if private is used. Just look at the converted code. Private annotated methods will be available to the public. Only overflow will cause errors. Both public and private will be converted to <Object>.prototype.funcName
<Object>.prototype.funcName