The private modifier

The private modifier works similarly to Java. Any private property or method in a class will only be visible to the enclosing class. Top-level properties and functions that are private will only be available within the file in which they are defined.